Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 88.48 kB / 20.95 MB, free: 472 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002493/0.002493, allocations: 152.9 kB / 24.25 MB, free: 3.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 173.3 MB / 200.8 MB, free: 12.75 MB / 190.1 MB " [Timeout remaining time 178] 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.491e-05, allocations: 2.312 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01813/0.01815, allocations: 14.25 MB / 281.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009114/0.02727, allocations: 4.021 MB / 285.6 MB, free: 7.844 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.03011, allocations: 159.2 kB / 285.7 MB, free: 7.688 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01753/0.04764, allocations: 7.326 MB / 293.1 MB, free: 336 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006222/0.05386, allocations: 1.514 MB / 294.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.05739, allocations: 1.087 MB / 295.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01186/0.06925, allocations: 8.584 MB / 304.3 MB, free: 5.094 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1592/0.2285, allocations: 14.24 MB / 318.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01153/0.24, allocations: 7.318 MB / 325.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0077/0.2477, allocations: 4.636 MB / 330.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004095/0.2518, allocations: 1.385 MB / 331.8 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00567/0.2574, allocations: 1.638 MB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002736/0.2602, allocations: 2.632 MB / 336.1 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004718/0.2649, allocations: 3.485 MB / 339.6 MB, free: 11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.2827, allocations: 18.52 MB / 358.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2827, allocations: 0 / 358.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.2827, allocations: 0 / 358.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000554/0.2832, allocations: 0 / 358.1 MB, free: 10.93 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: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03093/0.3142, allocations: 10.47 MB / 368.6 MB, free: 496 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3142, allocations: 8.031 kB / 368.6 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02191/0.3361, allocations: 4.912 MB / 373.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/0.3502, allocations: 5.643 MB / 379.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007719/0.3509, allocations: 0.6818 MB / 379.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/0.354, allocations: 0.8916 MB / 380.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03221/0.3862, allocations: 12.81 MB / 393.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002091/0.3864, allocations: 8 kB / 393.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001119/0.3875, allocations: 371.2 kB / 393.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004125/0.3879, allocations: 395.1 kB / 394.3 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02307/0.411, allocations: 11.39 MB / 405.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0693/0.4803, allocations: 38.59 MB / 444.3 MB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00902/0.4893, allocations: 4.163 MB / 448.4 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2324/0.7217, allocations: 1.529 MB / 450 MB, free: 115.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.722, allocations: 64.92 kB / 450 MB, free: 115.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.722, allocations: 58.23 kB / 450.1 MB, free: 115.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=223): time 5.66e-06/0.722, allocations: 0 / 450.1 MB, free: 115.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.009577/0.7316, allocations: 4.664 MB / 454.7 MB, free: 114.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.7317, allocations: 75.47 kB / 454.8 MB, free: 114.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004786/0.7365, allocations: 3.035 MB / 457.9 MB, free: 113.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002937/0.7367, allocations: 61.45 kB / 457.9 MB, free: 113.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001965/0.7387, allocations: 3.967 MB / 461.9 MB, free: 111.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007379/0.7395, allocations: 0.824 MB / 462.7 MB, free: 111 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.7406, allocations: 0.9412 MB / 463.6 MB, free: 110.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.7407, allocations: 302.5 kB / 463.9 MB, free: 110.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.7432, allocations: 1.973 MB / 465.9 MB, free: 109.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003216/0.7464, allocations: 4.157 MB / 470.1 MB, free: 106 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00563/0.752, allocations: 6.507 MB / 476.6 MB, free: 101.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.565e-05/0.7521, allocations: 25.38 kB / 476.6 MB, free: 101.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.009048/0.7611, allocations: 6.743 MB / 483.3 MB, free: 98.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.7612, allocations: 37.12 kB / 483.4 MB, free: 98.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/0.7613, allocations: 77.03 kB / 483.5 MB, free: 98.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008534/0.7621, allocations: 405.4 kB / 483.9 MB, free: 98.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/0.7654, allocations: 1.063 MB / 484.9 MB, free: 98.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/0.7696, allocations: 4.205 MB / 489.1 MB, free: 94.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/0.7728, allocations: 0.634 MB / 489.8 MB, free: 93.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005359/0.7734, allocations: 244.3 kB / 490 MB, free: 93.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004526/0.7779, allocations: 3.378 MB / 493.4 MB, free: 90.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006935/0.7786, allocations: 357.8 kB / 493.7 MB, free: 90.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004835/0.7834, allocations: 3.577 MB / 497.3 MB, free: 87.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003214/0.7867, allocations: 2.8 MB / 0.4884 GB, free: 84.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.7867, allocations: 4.875 kB / 0.4884 GB, free: 84.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.7867, allocations: 11.95 kB / 0.4884 GB, free: 84.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.7995, allocations: 7.991 MB / 0.4962 GB, free: 76.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.7995, allocations: 4 kB / 0.4962 GB, free: 76.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.801, allocations: 411.4 kB / 0.4966 GB, free: 76.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006545/0.8017, allocations: 312.7 kB / 0.4969 GB, free: 76.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.8018, allocations: 47.98 kB / 0.4969 GB, free: 76.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/0.8055, allocations: 4.036 MB / 0.5009 GB, free: 71.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8055, allocations: 4.031 kB / 0.5009 GB, free: 71.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005768/0.8113, allocations: 5.202 MB / 0.506 GB, free: 66.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/0.8128, allocations: 0.5522 MB / 0.5065 GB, free: 66.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/0.8131, allocations: 36 kB / 0.5065 GB, free: 66.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.8142, allocations: 143.8 kB / 0.5067 GB, free: 66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/0.8145, allocations: 157.6 kB / 0.5068 GB, free: 65.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.8146, allocations: 59.98 kB / 0.5069 GB, free: 65.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002175/0.8168, allocations: 1.939 MB / 0.5088 GB, free: 63.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8168, allocations: 0 / 0.5088 GB, free: 63.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004218/0.821, allocations: 1.996 MB / 0.5107 GB, free: 61.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004124/0.8214, allocations: 215.9 kB / 0.5109 GB, free: 61.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00549/0.8269, allocations: 4.441 MB / 0.5153 GB, free: 57.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.8269, allocations: 0 / 0.5153 GB, free: 57.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.8288, allocations: 1.618 MB / 0.5168 GB, free: 55.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.8317, allocations: 0.6802 MB / 0.5175 GB, free: 54.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/0.8498, allocations: 13.72 MB / 0.5309 GB, free: 41.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003997/0.8538, allocations: 5.172 MB / 0.536 GB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003261/0.857, allocations: 1.694 MB / 0.5376 GB, free: 34.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/0.8576, allocations: 224.5 kB / 0.5378 GB, free: 33.96 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.8576, allocations: 3.062 kB / 0.5378 GB, free: 33.96 MB / 382.1 MB Notification: Performance of Templates: time 0.06283/0.9205, allocations: 38.46 MB / 0.5754 GB, free: 11.98 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.21708045527339]