Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 108.4 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001854, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.35/2.35, allocations: 222.9 MB / 241.8 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 38.5 kB / 300.6 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1662, allocations: 49.46 MB / 350.1 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008927/0.1752, allocations: 5.976 MB / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006448/0.1817, allocations: 1.589 MB / 357.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.1831, allocations: 51.75 kB / 357.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009135/0.1841, allocations: 246.3 kB / 357.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.1868, allocations: 330.2 kB / 358.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.1882, allocations: 303.7 kB / 358.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00464/0.1929, allocations: 2.118 MB / 360.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005011/0.198, allocations: 2.279 MB / 362.9 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.2002, allocations: 0.9032 MB / 363.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.2031, allocations: 1.159 MB / 365 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007149/0.2038, allocations: 212 kB / 365.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.2052, allocations: 375.6 kB / 365.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009572/0.2062, allocations: 0.6193 MB / 366.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.2086, allocations: 1.151 MB / 367.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004803/0.2134, allocations: 3.153 MB / 370.5 MB, free: 180 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.2134, allocations: 0 / 370.5 MB, free: 180 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.2135, allocations: 0 / 370.5 MB, free: 180 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001406/0.2136, allocations: 0 / 370.5 MB, free: 180 kB / 302.1 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.2875/0.5011, allocations: 2.458 MB / 372.9 MB, free: 23.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.646e-05/0.5012, allocations: 13.69 kB / 373 MB, free: 23.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.5023, allocations: 237.3 kB / 373.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.5049, allocations: 1.261 MB / 374.4 MB, free: 23.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.5051, allocations: 166.4 kB / 374.6 MB, free: 22.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.5054, allocations: 219.3 kB / 374.8 MB, free: 22.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006631/0.5121, allocations: 2.541 MB / 377.4 MB, free: 21.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.545e-05/0.5122, allocations: 0 / 377.4 MB, free: 21.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.5125, allocations: 96.45 kB / 377.5 MB, free: 21.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.5127, allocations: 56.34 kB / 377.5 MB, free: 21.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006599/0.5193, allocations: 2.145 MB / 379.7 MB, free: 21.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02355/0.5429, allocations: 7.603 MB / 387.3 MB, free: 16.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.5449, allocations: 1.251 MB / 388.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.5467, allocations: 0.6287 MB / 389.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.5468, allocations: 8.469 kB / 389.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.5469, allocations: 39.06 kB / 389.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 4.419e-06/0.5469, allocations: 0 / 389.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.006945/0.5539, allocations: 2.424 MB / 391.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.554, allocations: 62.72 kB / 391.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.5557, allocations: 0.8017 MB / 392.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/0.5558, allocations: 36.45 kB / 392.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007482/0.5566, allocations: 0.916 MB / 393.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.5568, allocations: 223.6 kB / 393.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.5572, allocations: 149.2 kB / 393.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.5574, allocations: 391.6 kB / 394.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009856/0.5584, allocations: 364.4 kB / 394.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.5596, allocations: 0.5798 MB / 395.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.5616, allocations: 0.9828 MB / 396.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.5617, allocations: 3.938 kB / 396.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003148/0.5648, allocations: 1.148 MB / 397.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.5649, allocations: 11.98 kB / 397.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.5649, allocations: 4 kB / 397.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004666/0.5654, allocations: 109 kB / 397.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.5666, allocations: 179.6 kB / 397.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/0.5696, allocations: 2.127 MB / 399.7 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.5707, allocations: 47.72 kB / 399.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5708, allocations: 35.88 kB / 399.8 MB, free: 6.766 MB / 302.1 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001642/0.5724, allocations: 0.6419 MB / 400.4 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/0.5728, allocations: 87.03 kB / 400.5 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.573, allocations: 107.5 kB / 400.6 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/0.5731, allocations: 8 kB / 400.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/0.5731, allocations: 4.062 kB / 400.6 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.5731, allocations: 7.922 kB / 400.6 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006039/0.5792, allocations: 2.66 MB / 403.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.5792, allocations: 0 / 403.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/0.58, allocations: 107.9 kB / 403.4 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.5804, allocations: 96.88 kB / 403.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/0.5805, allocations: 27.98 kB / 403.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.5826, allocations: 2.065 MB / 405.6 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5826, allocations: 0 / 405.6 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.5847, allocations: 1.411 MB / 407 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.5852, allocations: 236 kB / 407.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.5853, allocations: 12 kB / 407.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.5858, allocations: 44.02 kB / 407.3 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.586, allocations: 48.5 kB / 407.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/0.586, allocations: 19.98 kB / 407.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009795/0.587, allocations: 0.5536 MB / 407.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.587, allocations: 4 kB / 407.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00128/0.5883, allocations: 300 kB / 408.2 MB, free: 14.09 MB / 318.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003344/0.5887, allocations: 151 kB / 408.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.5906, allocations: 0.9924 MB / 409.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5906, allocations: 0 / 409.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.5915, allocations: 0.565 MB / 409.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.5928, allocations: 211.4 kB / 410.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006309/0.5991, allocations: 4.131 MB / 414.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.6005, allocations: 1.68 MB / 415.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.6008, allocations: 71.42 kB / 416 MB, free: 6.18 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6008, allocations: 0 / 416 MB, free: 6.18 MB / 318.1 MB Notification: Performance of Templates: time 0.04198/0.6428, allocations: 28.45 MB / 444.4 MB, free: 9.785 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches