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.0008331/0.0008335, allocations: 93.2 kB / 16.3 MB, free: 5.996 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.0008543/0.0008543, allocations: 183.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002647, allocations: 5.656 kB / 300.7 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1118, allocations: 50.43 MB / 351.1 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005861/0.1178, allocations: 4.912 MB / 356 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.121, allocations: 1.578 MB / 357.6 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/0.1215, allocations: 43.81 kB / 357.7 MB, free: 5.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.122, allocations: 246.6 kB / 357.9 MB, free: 4.953 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008189/0.1228, allocations: 303 kB / 358.2 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.1233, allocations: 219.7 kB / 358.4 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.1248, allocations: 1.276 MB / 359.7 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.127, allocations: 1.884 MB / 361.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009258/0.1279, allocations: 0.689 MB / 362.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.129, allocations: 0.8049 MB / 363.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.1292, allocations: 124 kB / 363.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005271/0.1297, allocations: 247.7 kB / 363.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005107/0.1302, allocations: 490.5 kB / 363.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.1306, allocations: 436.6 kB / 364.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.1334, allocations: 3.046 MB / 367.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1334, allocations: 4 kB / 367.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1334, allocations: 0 / 367.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.882e-05/0.1334, allocations: 0 / 367.4 MB, free: 11.41 MB / 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.003804/0.1373, allocations: 2.095 MB / 369.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1373, allocations: 8.031 kB / 369.5 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006848/0.138, allocations: 237.3 kB / 369.7 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.1404, allocations: 1.235 MB / 371 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.1405, allocations: 168.5 kB / 371.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.1408, allocations: 216 kB / 371.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/0.1453, allocations: 2.518 MB / 373.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.1454, allocations: 4 kB / 373.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.1456, allocations: 92 kB / 374 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.958e-05/0.1457, allocations: 56 kB / 374 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/0.149, allocations: 2.13 MB / 376.1 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.1608, allocations: 7.651 MB / 383.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.1622, allocations: 1.261 MB / 385 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.1623, allocations: 8.547 kB / 385.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.1623, allocations: 43.11 kB / 385.1 MB, free: 9.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 5.591e-06/0.1624, allocations: 0 / 385.1 MB, free: 9.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.004388/0.1667, allocations: 2.595 MB / 387.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.1668, allocations: 59.95 kB / 387.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009983/0.1678, allocations: 0.7855 MB / 388.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.1679, allocations: 41.7 kB / 388.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006068/0.1685, allocations: 0.9176 MB / 389.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.1687, allocations: 220.8 kB / 389.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1687, allocations: 15.98 kB / 389.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1689, allocations: 394.7 kB / 390.1 MB, free: 4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.1694, allocations: 369.8 kB / 390.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.1701, allocations: 0.5789 MB / 391.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/0.1708, allocations: 469.9 kB / 391.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1708, allocations: 7.938 kB / 391.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001698/0.1725, allocations: 1.143 MB / 392.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1725, allocations: 8 kB / 392.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.1725, allocations: 8 kB / 392.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.1728, allocations: 84.8 kB / 392.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.1735, allocations: 187.8 kB / 392.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.1754, allocations: 1.944 MB / 394.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.1758, allocations: 39.97 kB / 394.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.1759, allocations: 39.94 kB / 395 MB, free: 14.91 MB / 334.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 (91): * Single equations (assignments): 88 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0009881/0.1769, allocations: 0.6459 MB / 395.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.177, allocations: 91 kB / 395.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.1772, allocations: 91.56 kB / 395.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.1773, allocations: 15.94 kB / 395.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1773, allocations: 0 / 395.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1773, allocations: 3.984 kB / 395.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.1813, allocations: 2.621 MB / 398.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1814, allocations: 256 / 398.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.1819, allocations: 119.9 kB / 398.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001839/0.1821, allocations: 80.77 kB / 398.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.1821, allocations: 15.98 kB / 398.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.1839, allocations: 1.908 MB / 400.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.1839, allocations: 7.891 kB / 400.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.186, allocations: 1.426 MB / 402 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.1863, allocations: 224 kB / 402.2 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.1864, allocations: 12 kB / 402.2 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.1868, allocations: 52.08 kB / 402.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1869, allocations: 52.44 kB / 402.3 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.187, allocations: 16 kB / 402.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006435/0.1876, allocations: 0.5458 MB / 402.9 MB, free: 6.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1876, allocations: 0 / 402.9 MB, free: 6.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001096/0.1887, allocations: 304 kB / 403.2 MB, free: 6.414 MB / 334.1 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: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0002527/0.189, allocations: 139 kB / 403.3 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.1905, allocations: 0.9861 MB / 404.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1906, allocations: 1.688 kB / 404.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.1913, allocations: 0.5485 MB / 404.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/0.1922, allocations: 199 kB / 405 MB, free: 4.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.198, allocations: 3.962 MB / 409 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.1993, allocations: 1.752 MB / 410.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005482/0.1999, allocations: 214.9 kB / 411 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.2001, allocations: 63.38 kB / 411 MB, free: 14.45 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2001, allocations: 0 / 411 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Templates: time 0.01975/0.2198, allocations: 11.25 MB / 422.3 MB, free: 3.312 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches