Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 80.92 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 170.5 kB / 25.7 MB, free: 8.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8004/0.8004, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.707e-05, allocations: 6.25 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01141/0.01143, allocations: 15.63 MB / 267.2 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007706/0.01913, allocations: 4.483 MB / 271.6 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.02064, allocations: 131.4 kB / 271.8 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007124/0.02776, allocations: 7.995 MB / 279.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.03038, allocations: 1.444 MB / 281.2 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.032, allocations: 1.356 MB / 282.6 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005614/0.03762, allocations: 8.905 MB / 291.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01348/0.0511, allocations: 14.82 MB / 306.3 MB, free: 76 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007271/0.05837, allocations: 7.637 MB / 313.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005352/0.06372, allocations: 5.572 MB / 319.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.06536, allocations: 1.402 MB / 320.9 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.06737, allocations: 1.667 MB / 322.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.06901, allocations: 2.805 MB / 325.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.07172, allocations: 3.641 MB / 329 MB, free: 9.312 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006976/0.0787, allocations: 9.103 MB / 338.1 MB, free: 188 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.0787, allocations: 0 / 338.1 MB, free: 188 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0787, allocations: 0 / 338.1 MB, free: 188 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002277/0.07893, allocations: 0 / 338.1 MB, free: 188 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.01313/0.09206, allocations: 10.68 MB / 348.8 MB, free: 5.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.0921, allocations: 11.98 kB / 348.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2019/0.294, allocations: 5.43 MB / 354.2 MB, free: 70.44 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005559/0.2996, allocations: 2.174 MB / 356.4 MB, free: 70.25 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.2998, allocations: 0.7075 MB / 357.1 MB, free: 70.23 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.3009, allocations: 0.9199 MB / 358 MB, free: 70.23 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007374/0.3083, allocations: 6.443 MB / 364.5 MB, free: 69.78 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.3084, allocations: 12.03 kB / 364.5 MB, free: 69.78 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005782/0.309, allocations: 392.6 kB / 364.9 MB, free: 69.78 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/0.3092, allocations: 460.2 kB / 365.3 MB, free: 69.75 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.3131, allocations: 2.719 MB / 368 MB, free: 69.5 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/0.336, allocations: 27.99 MB / 396 MB, free: 48.68 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.3394, allocations: 3.231 MB / 399.3 MB, free: 45.55 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.3399, allocations: 0.546 MB / 399.8 MB, free: 45.02 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003675/0.3436, allocations: 2.771 MB / 402.6 MB, free: 42.43 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.3436, allocations: 58.45 kB / 402.6 MB, free: 42.37 MB / 330.8 MB Notification: Performance of pre-optimization done (n=188): time 4.809e-06/0.3436, allocations: 0 / 402.6 MB, free: 42.37 MB / 330.8 MB Notification: Performance of matching and sorting (n=188): time 0.002411/0.346, allocations: 1.689 MB / 404.3 MB, free: 40.7 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.3461, allocations: 77.25 kB / 404.4 MB, free: 40.62 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.3474, allocations: 2.272 MB / 406.7 MB, free: 38.91 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.3475, allocations: 57.7 kB / 406.7 MB, free: 38.85 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.3486, allocations: 4.131 MB / 410.9 MB, free: 34.91 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.3489, allocations: 0.7194 MB / 411.6 MB, free: 34.22 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006751/0.3496, allocations: 0.97 MB / 412.6 MB, free: 33.34 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 3.17e-05/0.3496, allocations: 305.1 kB / 412.9 MB, free: 33.04 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006165/0.3502, allocations: 0.6768 MB / 413.5 MB, free: 32.36 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.3514, allocations: 3.111 MB / 416.6 MB, free: 28.13 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.3536, allocations: 4.234 MB / 420.9 MB, free: 23.14 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-05/0.3537, allocations: 28 kB / 420.9 MB, free: 23.11 MB / 330.8 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.002865/0.3565, allocations: 3.352 MB / 424.3 MB, free: 20.34 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.3566, allocations: 47.98 kB / 424.3 MB, free: 20.3 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.259e-05/0.3566, allocations: 96.19 kB / 424.4 MB, free: 20.2 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/0.3571, allocations: 364.4 kB / 424.7 MB, free: 19.85 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.3587, allocations: 1.089 MB / 425.8 MB, free: 18.86 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.3603, allocations: 2.511 MB / 428.3 MB, free: 16.34 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.3618, allocations: 0.6282 MB / 429 MB, free: 15.71 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.362, allocations: 240 kB / 429.2 MB, free: 15.48 MB / 330.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.001263/0.3632, allocations: 496.4 kB / 429.7 MB, free: 15.08 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.3635, allocations: 226.6 kB / 429.9 MB, free: 14.86 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.3649, allocations: 1.464 MB / 431.4 MB, free: 13.42 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007508/0.3657, allocations: 0.7446 MB / 432.1 MB, free: 12.69 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3657, allocations: 4 kB / 432.1 MB, free: 12.68 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.3657, allocations: 15.95 kB / 432.1 MB, free: 12.67 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/0.3702, allocations: 4.174 MB / 436.3 MB, free: 9.359 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3702, allocations: 0 / 436.3 MB, free: 9.359 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.3708, allocations: 285.9 kB / 436.6 MB, free: 9.098 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004241/0.3712, allocations: 254.6 kB / 436.8 MB, free: 8.852 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.3713, allocations: 36 kB / 436.9 MB, free: 8.816 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.3727, allocations: 2.335 MB / 439.2 MB, free: 6.445 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3727, allocations: 11.75 kB / 439.2 MB, free: 6.438 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.3741, allocations: 1.572 MB / 440.8 MB, free: 4.887 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.3745, allocations: 341.6 kB / 441.1 MB, free: 4.551 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.3747, allocations: 32 kB / 441.2 MB, free: 4.52 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.3751, allocations: 47.98 kB / 441.2 MB, free: 4.473 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.3753, allocations: 133.7 kB / 441.3 MB, free: 4.34 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.714e-05/0.3753, allocations: 43.98 kB / 441.4 MB, free: 4.297 MB / 330.8 MB Notification: Performance of sorting global known variables: time 0.00064/0.376, allocations: 0.9509 MB / 442.3 MB, free: 3.457 MB / 330.8 MB Notification: Performance of sort global known variables: time 7e-08/0.376, allocations: 0 / 442.3 MB, free: 3.457 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.003196/0.3792, allocations: 2.058 MB / 444.4 MB, free: 1.391 MB / 330.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.0002629/0.3794, allocations: 181.1 kB / 444.6 MB, free: 1.23 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.3815, allocations: 2.322 MB / 446.9 MB, free: 15.21 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001026/0.3816, allocations: 67.44 kB / 447 MB, free: 15.14 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.3823, allocations: 0.7869 MB / 447.7 MB, free: 14.4 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.3838, allocations: 0.6988 MB / 448.4 MB, free: 13.72 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.3997, allocations: 11.92 MB / 460.4 MB, free: 1.773 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.4014, allocations: 1.637 MB / 462 MB, free: 108 kB / 346.8 MB Notification: Performance of simCode: alias equations: time 0.001713/0.4031, allocations: 0.5201 MB / 462.5 MB, free: 15.59 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.4045, allocations: 0.6466 MB / 463.2 MB, free: 14.93 MB / 362.8 MB Notification: Performance of SimCode: time 1.913e-06/0.4045, allocations: 0 / 463.2 MB, free: 14.93 MB / 362.8 MB Notification: Performance of Templates: time 0.1666/0.5711, allocations: 40.01 MB / 0.4914 GB, free: 103.5 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.772327915299684]