Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009156/0.0009156, allocations: 89.03 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002923, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2728, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3795, allocations: 91.77 MB / 467.6 MB, free: 4.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.3798, allocations: 83.95 kB / 467.7 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.011/1.391, allocations: 305.4 MB / 0.755 GB, free: 32.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.847e-06/1.391, allocations: 0 / 0.755 GB, free: 32.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005163/1.391, allocations: 195.8 kB / 0.7552 GB, free: 32.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.0372/1.429, allocations: 8.244 MB / 0.7632 GB, free: 24.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.429, allocations: 12.03 kB / 0.7632 GB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03164/1.46, allocations: 3.901 MB / 0.767 GB, free: 20.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/1.476, allocations: 5.392 MB / 0.7723 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001305/1.477, allocations: 0.6761 MB / 0.773 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004117/1.482, allocations: 0.8622 MB / 0.7738 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04033/1.522, allocations: 15.35 MB / 0.7888 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002204/1.522, allocations: 15.08 kB / 0.7888 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/1.524, allocations: 382.7 kB / 0.7892 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000626/1.525, allocations: 0.5845 MB / 0.7897 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2823/1.807, allocations: 12.92 MB / 0.8024 GB, free: 52.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09661/1.904, allocations: 47.8 MB / 0.849 GB, free: 47.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/1.919, allocations: 9.695 MB / 0.8585 GB, free: 44.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0433/1.962, allocations: 20.99 MB / 0.879 GB, free: 34.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/1.962, allocations: 89.59 kB / 0.8791 GB, free: 34.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=711): time 1.245e-05/1.962, allocations: 0 / 0.8791 GB, free: 34.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=711): time 0.05294/2.015, allocations: 28.34 MB / 0.9068 GB, free: 17.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/2.015, allocations: 106.6 kB / 0.9069 GB, free: 17.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004075/2.019, allocations: 1.754 MB / 0.9086 GB, free: 17.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001405/2.021, allocations: 110.5 kB / 0.9087 GB, free: 16.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/2.023, allocations: 3.036 MB / 0.9117 GB, free: 14.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003008/2.026, allocations: 2.329 MB / 0.9139 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004302/2.026, allocations: 117.5 kB / 0.914 GB, free: 12.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004066/2.027, allocations: 0.5966 MB / 0.9146 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0056/2.032, allocations: 4.624 MB / 0.9191 GB, free: 10.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006738/2.039, allocations: 5.847 MB / 0.9249 GB, free: 7.109 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0071/2.046, allocations: 5.603 MB / 0.9303 GB, free: 2.191 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/2.046, allocations: 12 kB / 0.9303 GB, free: 2.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.03425/2.08, allocations: 14 MB / 0.944 GB, free: 8.715 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/2.081, allocations: 19.95 kB / 0.944 GB, free: 8.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.503e-05/2.081, allocations: 32 kB / 0.9441 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0066/2.087, allocations: 3.727 MB / 0.9477 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/2.092, allocations: 1.029 MB / 0.9487 GB, free: 4.738 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/2.103, allocations: 9.253 MB / 0.9577 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005485/2.109, allocations: 0.705 MB / 0.9584 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/2.111, allocations: 270 kB / 0.9587 GB, free: 11.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (570): * Single equations (assignments): 479 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.01016/2.121, allocations: 3.43 MB / 0.962 GB, free: 8.727 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/2.122, allocations: 351.5 kB / 0.9624 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3018/2.424, allocations: 13.24 MB / 0.9753 GB, free: 82.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01584/2.44, allocations: 11.56 MB / 0.9866 GB, free: 82.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/2.44, allocations: 3.75 kB / 0.9866 GB, free: 82.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.292e-05/2.44, allocations: 26.77 kB / 0.9866 GB, free: 82.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03949/2.48, allocations: 24.49 MB / 1.011 GB, free: 81.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/2.48, allocations: 0 / 1.011 GB, free: 81.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/2.483, allocations: 0.7096 MB / 1.011 GB, free: 81.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005448/2.488, allocations: 3.678 MB / 1.015 GB, free: 81.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009741/2.489, allocations: 145.8 kB / 1.015 GB, free: 81.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008075/2.497, allocations: 9.147 MB / 1.024 GB, free: 78.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.497, allocations: 0 / 1.024 GB, free: 78.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02629/2.524, allocations: 19.01 MB / 1.042 GB, free: 71.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004448/2.528, allocations: 1.492 MB / 1.044 GB, free: 70.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/2.53, allocations: 97.77 kB / 1.044 GB, free: 70.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/2.533, allocations: 250.6 kB / 1.044 GB, free: 70.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/2.534, allocations: 0.5248 MB / 1.045 GB, free: 70.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007849/2.535, allocations: 184.9 kB / 1.045 GB, free: 70.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002224/2.537, allocations: 1.312 MB / 1.046 GB, free: 69.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/2.537, allocations: 1.781 kB / 1.046 GB, free: 69.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006931/2.544, allocations: 2.161 MB / 1.048 GB, free: 69.47 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (403): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/2.545, allocations: 290.8 kB / 1.049 GB, free: 69.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01809/2.563, allocations: 11.04 MB / 1.059 GB, free: 65.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/2.563, allocations: 0 / 1.059 GB, free: 65.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01/2.573, allocations: 5.6 MB / 1.065 GB, free: 63.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00451/2.578, allocations: 0.6078 MB / 1.065 GB, free: 62.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04391/2.622, allocations: 22.56 MB / 1.087 GB, free: 42.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/2.632, allocations: 6.154 MB / 1.093 GB, free: 38.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005349/2.638, allocations: 1.305 MB / 1.095 GB, free: 37.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/2.64, allocations: 248.9 kB / 1.095 GB, free: 37.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.532e-06/2.64, allocations: 0 / 1.095 GB, free: 37.07 MB / 458.7 MB Notification: Performance of Templates: time 0.4553/3.095, allocations: 102.6 MB / 1.195 GB, free: 72.24 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches