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.0009829/0.0009829, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.396/1.396, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008566/0.0008568, allocations: 90.69 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.783e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09744, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.5034, allocations: 84.76 MB / 454.8 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.5036, allocations: 79.11 kB / 454.8 MB, free: 8.531 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1013/0.6049, allocations: 31.7 MB / 486.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.605, allocations: 4 kB / 486.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001439/0.6052, allocations: 59.88 kB / 486.6 MB, free: 10.12 MB / 362.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.006414/0.6116, allocations: 1.956 MB / 488.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.343e-05/0.6117, allocations: 8.031 kB / 488.6 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.6134, allocations: 257.2 kB / 488.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.6169, allocations: 1.242 MB / 490.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.6171, allocations: 176.5 kB / 490.2 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005748/0.6176, allocations: 220 kB / 490.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00682/0.6245, allocations: 2.705 MB / 493.2 MB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.243e-05/0.6246, allocations: 0 / 493.2 MB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.6249, allocations: 92 kB / 493.3 MB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/0.625, allocations: 56 kB / 493.3 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004872/0.6298, allocations: 1.88 MB / 495.2 MB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.6477, allocations: 7.733 MB / 0.4911 GB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.6495, allocations: 1.238 MB / 0.4923 GB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.6509, allocations: 0.5907 MB / 0.4929 GB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.482e-05/0.651, allocations: 12.53 kB / 0.4929 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.651, allocations: 39.12 kB / 0.493 GB, free: 7.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 4.228e-06/0.651, allocations: 0 / 0.493 GB, free: 7.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.00516/0.6562, allocations: 2.099 MB / 0.495 GB, free: 5.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.6563, allocations: 59.97 kB / 0.4951 GB, free: 5.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.6577, allocations: 0.7067 MB / 0.4958 GB, free: 4.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.6578, allocations: 33.7 kB / 0.4958 GB, free: 4.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007673/0.6585, allocations: 0.9099 MB / 0.4967 GB, free: 3.379 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.6588, allocations: 224.7 kB / 0.4969 GB, free: 3.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.6588, allocations: 20 kB / 0.4969 GB, free: 3.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.6591, allocations: 390.7 kB / 0.4973 GB, free: 2.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007279/0.6598, allocations: 345.6 kB / 0.4976 GB, free: 2.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009618/0.6608, allocations: 0.5664 MB / 0.4982 GB, free: 1.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/0.6617, allocations: 447 kB / 0.4986 GB, free: 1.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6617, allocations: 4 kB / 0.4986 GB, free: 1.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002487/0.6642, allocations: 1.123 MB / 0.4997 GB, free: 176 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.6642, allocations: 8 kB / 0.4997 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/0.6643, allocations: 8 kB / 0.4997 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.6647, allocations: 117.2 kB / 0.4998 GB, free: 40 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.6657, allocations: 171.7 kB / 0.5 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.6688, allocations: 2.139 MB / 0.5021 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/0.6697, allocations: 43.97 kB / 0.5021 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/0.6698, allocations: 36 kB / 0.5022 GB, free: 13.52 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.6701, allocations: 148.7 kB / 0.5023 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.6703, allocations: 83.02 kB / 0.5024 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.6724, allocations: 0.9096 MB / 0.5033 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.6725, allocations: 8 kB / 0.5033 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6725, allocations: 4.062 kB / 0.5033 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6725, allocations: 3.984 kB / 0.5033 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/0.6784, allocations: 2.674 MB / 0.5059 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/0.6784, allocations: 4 kB / 0.5059 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/0.6791, allocations: 116 kB / 0.506 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000363/0.6795, allocations: 100.8 kB / 0.5061 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/0.6796, allocations: 12.19 kB / 0.5061 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/0.6824, allocations: 2.092 MB / 0.5082 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6824, allocations: 0 / 0.5082 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.6853, allocations: 1.443 MB / 0.5096 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.6859, allocations: 228 kB / 0.5098 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.686, allocations: 24 kB / 0.5098 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.6866, allocations: 47.91 kB / 0.5099 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.6868, allocations: 48.48 kB / 0.5099 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.6869, allocations: 20 kB / 0.5099 GB, free: 5.242 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.688, allocations: 0.546 MB / 0.5105 GB, free: 4.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.688, allocations: 0 / 0.5105 GB, free: 4.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001662/0.6897, allocations: 316 kB / 0.5108 GB, free: 4.391 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003622/0.6901, allocations: 135 kB / 0.5109 GB, free: 4.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.6923, allocations: 1.032 MB / 0.5119 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6924, allocations: 0 / 0.5119 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.6936, allocations: 0.6001 MB / 0.5125 GB, free: 2.566 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.6951, allocations: 199.3 kB / 0.5127 GB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006377/0.7015, allocations: 2.52 MB / 0.5151 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001917/0.7035, allocations: 1.756 MB / 0.5168 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001001/0.7045, allocations: 195 kB / 0.517 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.7048, allocations: 55.44 kB / 0.5171 GB, free: 13.77 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.7048, allocations: 0 / 0.5171 GB, free: 13.77 MB / 410.7 MB Notification: Performance of Templates: time 0.03233/0.7371, allocations: 11.39 MB / 0.5282 GB, free: 2.371 MB / 410.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