Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 181 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.525/1.525, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0009359/0.000936, allocations: 84.22 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 12 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.374, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.4903, allocations: 84.86 MB / 460.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.4907, allocations: 71.97 kB / 460.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07544/0.5661, allocations: 31.62 MB / 492.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5662, allocations: 0 / 492.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001078/0.5663, allocations: 55.94 kB / 492.4 MB, free: 11.9 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.003666/0.5699, allocations: 2.087 MB / 494.5 MB, free: 9.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.57, allocations: 8.031 kB / 494.5 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.5706, allocations: 257.2 kB / 494.8 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.5729, allocations: 1.254 MB / 496 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.573, allocations: 168.5 kB / 496.2 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/0.5733, allocations: 231.9 kB / 496.4 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004191/0.5775, allocations: 2.756 MB / 499.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/0.5776, allocations: 0 / 499.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.5778, allocations: 96 kB / 499.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.5778, allocations: 56 kB / 499.3 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/0.581, allocations: 1.958 MB / 0.4895 GB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2581/0.8391, allocations: 7.708 MB / 0.497 GB, free: 89.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.8406, allocations: 1.273 MB / 0.4983 GB, free: 88.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-05/0.8406, allocations: 11.95 kB / 0.4983 GB, free: 88.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.8407, allocations: 39.72 kB / 0.4983 GB, free: 88.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.745e-06/0.8407, allocations: 3.375 kB / 0.4983 GB, free: 88.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.004829/0.8455, allocations: 2.623 MB / 0.5009 GB, free: 87.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.8456, allocations: 57.84 kB / 0.501 GB, free: 87.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.8467, allocations: 0.7104 MB / 0.5016 GB, free: 87.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.8467, allocations: 36.23 kB / 0.5017 GB, free: 87.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005776/0.8473, allocations: 0.9153 MB / 0.5026 GB, free: 87.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.8475, allocations: 226.5 kB / 0.5028 GB, free: 87.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.8475, allocations: 14.69 kB / 0.5028 GB, free: 87.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8477, allocations: 391.5 kB / 0.5032 GB, free: 86.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.8483, allocations: 382.4 kB / 0.5035 GB, free: 86.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.8489, allocations: 0.5854 MB / 0.5041 GB, free: 86.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.8495, allocations: 482.7 kB / 0.5046 GB, free: 86.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/0.8495, allocations: 3.969 kB / 0.5046 GB, free: 86.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001594/0.8511, allocations: 1.146 MB / 0.5057 GB, free: 86.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8512, allocations: 10.09 kB / 0.5057 GB, free: 86.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.8512, allocations: 10.62 kB / 0.5057 GB, free: 86.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.8515, allocations: 89.03 kB / 0.5058 GB, free: 86.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.8521, allocations: 176.7 kB / 0.506 GB, free: 86.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.8538, allocations: 1.958 MB / 0.5079 GB, free: 85.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.8543, allocations: 45.44 kB / 0.5079 GB, free: 85.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.8544, allocations: 33.28 kB / 0.508 GB, free: 85.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001474/0.8559, allocations: 0.642 MB / 0.5086 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.8561, allocations: 86.84 kB / 0.5087 GB, free: 84.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.8575, allocations: 0.9306 MB / 0.5096 GB, free: 84.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.8575, allocations: 7.375 kB / 0.5096 GB, free: 84.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8575, allocations: 0 / 0.5096 GB, free: 84.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.8575, allocations: 10.42 kB / 0.5096 GB, free: 84.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/0.8617, allocations: 2.669 MB / 0.5122 GB, free: 84.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.8617, allocations: 3.969 kB / 0.5122 GB, free: 84.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.8622, allocations: 116.2 kB / 0.5123 GB, free: 84.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.8624, allocations: 75.44 kB / 0.5124 GB, free: 84.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.8624, allocations: 19.14 kB / 0.5124 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.8638, allocations: 1.912 MB / 0.5143 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8638, allocations: 6.688 kB / 0.5143 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.8657, allocations: 1.45 MB / 0.5157 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.8661, allocations: 231 kB / 0.5159 GB, free: 81.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.8662, allocations: 11.84 kB / 0.5159 GB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.8666, allocations: 44.92 kB / 0.516 GB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.8668, allocations: 49.59 kB / 0.516 GB, free: 81.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.8668, allocations: 18.31 kB / 0.516 GB, free: 81.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007097/0.8675, allocations: 0.55 MB / 0.5166 GB, free: 81.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8675, allocations: 0 / 0.5166 GB, free: 81.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001454/0.869, allocations: 310.8 kB / 0.5169 GB, free: 81.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002815/0.8693, allocations: 147.4 kB / 0.517 GB, free: 81.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.8708, allocations: 1.068 MB / 0.5181 GB, free: 81.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8709, allocations: 0 / 0.5181 GB, free: 81.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006948/0.8716, allocations: 0.5964 MB / 0.5186 GB, free: 80.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.8724, allocations: 200.7 kB / 0.5188 GB, free: 80.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/0.8776, allocations: 3.981 MB / 0.5227 GB, free: 78.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.8787, allocations: 1.75 MB / 0.5244 GB, free: 77.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000602/0.8793, allocations: 206.1 kB / 0.5246 GB, free: 77.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.8795, allocations: 55.91 kB / 0.5247 GB, free: 77.53 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.8795, allocations: 0 / 0.5247 GB, free: 77.53 MB / 378.7 MB Notification: Performance of Templates: time 0.01942/0.8989, allocations: 11.34 MB / 0.5358 GB, free: 75.43 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches