Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001098/0.001098, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001702/0.0028, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009789/0.0009789, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002387, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9271/0.9271, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1845/1.112, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1399/0.1399, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01861/0.1585, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 285.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.876e-05, allocations: 8.922 kB / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006213/0.006232, allocations: 7.432 MB / 293.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.01062, allocations: 2.407 MB / 295.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009546/0.01158, allocations: 31.94 kB / 295.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.01427, allocations: 1.924 MB / 297.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.01577, allocations: 0.8618 MB / 298.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.01695, allocations: 0.8568 MB / 299.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.01835, allocations: 1.463 MB / 300.8 MB, free: 9.375 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.01942, allocations: 0.8914 MB / 301.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009151/0.02033, allocations: 0.8995 MB / 302.6 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.02093, allocations: 0.5804 MB / 303.2 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.02107, allocations: 112 kB / 303.3 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005906/0.02166, allocations: 331.5 kB / 303.6 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.02179, allocations: 215.2 kB / 303.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003148/0.0221, allocations: 363.2 kB / 304.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.02336, allocations: 1.109 MB / 305.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.108e-05/0.02338, allocations: 7.938 kB / 305.3 MB, free: 4.859 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.02338, allocations: 0 / 305.3 MB, free: 4.859 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.141e-05/0.02341, allocations: 0 / 305.3 MB, free: 4.859 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.004564/0.02797, allocations: 2.849 MB / 308.2 MB, free: 1.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.02801, allocations: 8.031 kB / 308.2 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005114/0.03312, allocations: 1.905 MB / 310.1 MB, free: 48 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.03394, allocations: 374.8 kB / 310.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.03401, allocations: 99.02 kB / 310.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.03416, allocations: 132.4 kB / 310.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.0354, allocations: 1.146 MB / 311.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.03544, allocations: 12.08 kB / 311.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.03551, allocations: 59.94 kB / 311.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.03553, allocations: 32 kB / 311.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000751/0.03628, allocations: 0.6222 MB / 312.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/0.04071, allocations: 3.421 MB / 315.9 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008476/0.04156, allocations: 0.8498 MB / 316.8 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.04185, allocations: 271.6 kB / 317.1 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.04196, allocations: 44.84 kB / 317.1 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.042, allocations: 47.56 kB / 317.2 MB, free: 8.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 5.44e-06/0.04201, allocations: 0 / 317.2 MB, free: 8.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.003689/0.0457, allocations: 2.043 MB / 319.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.04574, allocations: 90.11 kB / 319.3 MB, free: 6.496 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.04598, allocations: 394.9 kB / 319.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.04603, allocations: 45.7 kB / 319.7 MB, free: 6.047 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.04622, allocations: 449.5 kB / 320.2 MB, free: 5.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.04644, allocations: 440.1 kB / 320.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.04664, allocations: 218.7 kB / 320.8 MB, free: 4.949 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.04675, allocations: 378.6 kB / 321.2 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.04695, allocations: 165.4 kB / 321.3 MB, free: 4.406 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.04725, allocations: 432.5 kB / 321.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.04786, allocations: 0.7037 MB / 322.5 MB, free: 3.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.04787, allocations: 7.938 kB / 322.5 MB, free: 3.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0009224/0.04879, allocations: 0.8389 MB / 323.3 MB, free: 2.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.04881, allocations: 8 kB / 323.3 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.04883, allocations: 8 kB / 323.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000714/0.04954, allocations: 393.2 kB / 323.7 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.04997, allocations: 223.6 kB / 323.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.57e-05/0.05007, allocations: 49.31 kB / 324 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.05042, allocations: 115.2 kB / 324.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.05047, allocations: 39.98 kB / 324.1 MB, free: 1.41 MB / 314.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: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.05069, allocations: 185.5 kB / 324.3 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.05081, allocations: 87.92 kB / 324.4 MB, free: 1.133 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008903/0.0517, allocations: 0.8384 MB / 325.2 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.05171, allocations: 12 kB / 325.2 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.05171, allocations: 0 / 325.2 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.05172, allocations: 7.984 kB / 325.2 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1577/0.2094, allocations: 1.455 MB / 326.7 MB, free: 21.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.2094, allocations: 1.219 kB / 326.7 MB, free: 21.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/0.2099, allocations: 161 kB / 326.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/0.2102, allocations: 120 kB / 327 MB, free: 21.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009006/0.2111, allocations: 383.6 kB / 327.4 MB, free: 21.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.2112, allocations: 21.55 kB / 327.4 MB, free: 21.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001836/0.2114, allocations: 70.61 kB / 327.4 MB, free: 21.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2114, allocations: 2.828 kB / 327.4 MB, free: 21.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.2131, allocations: 1.221 MB / 328.7 MB, free: 21.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.2132, allocations: 23.28 kB / 328.7 MB, free: 21.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.2136, allocations: 50.45 kB / 328.7 MB, free: 21.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.2138, allocations: 79.83 kB / 328.8 MB, free: 21.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.2138, allocations: 22.8 kB / 328.8 MB, free: 21.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000178/0.214, allocations: 159.6 kB / 329 MB, free: 21.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.214, allocations: 0 / 329 MB, free: 21.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009101/0.2149, allocations: 349.7 kB / 329.3 MB, free: 21.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002665/0.2152, allocations: 143.8 kB / 329.5 MB, free: 21.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.2166, allocations: 0.7751 MB / 330.2 MB, free: 21.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-05/0.2166, allocations: 19.03 kB / 330.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009003/0.2175, allocations: 0.5243 MB / 330.8 MB, free: 21.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.2182, allocations: 0.7546 MB / 331.5 MB, free: 20.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00986/0.2281, allocations: 1.901 MB / 333.4 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.2283, allocations: 210.2 kB / 333.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004623/0.2287, allocations: 107.1 kB / 333.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.229, allocations: 180.7 kB / 333.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of SimCode: time 1.974e-06/0.229, allocations: 2.969 kB / 333.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of Templates: time 0.01688/0.2459, allocations: 13.1 MB / 347 MB, free: 13.99 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2900644121691585]