Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.000804/0.000804, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001898, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007274/0.0007274, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009081/0.001636, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9574/0.9574, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09753/1.055, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2584/0.2584, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02269/0.2811, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.024e-05, allocations: 3.844 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006678/0.006698, allocations: 7.443 MB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004131/0.01083, allocations: 2.454 MB / 302.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006087/0.01144, allocations: 31.94 kB / 302.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.0134, allocations: 1.928 MB / 304.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.01464, allocations: 0.7297 MB / 305.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.01587, allocations: 1.019 MB / 306.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.01687, allocations: 1.464 MB / 307.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008193/0.01769, allocations: 0.8952 MB / 308.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.01834, allocations: 0.9034 MB / 309.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.01877, allocations: 0.5727 MB / 310.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.01888, allocations: 112 kB / 310.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.01935, allocations: 339.5 kB / 310.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.01947, allocations: 211.2 kB / 310.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.01973, allocations: 367.2 kB / 311.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000913/0.02064, allocations: 1.136 MB / 312.2 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.02065, allocations: 4 kB / 312.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.02065, allocations: 0 / 312.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.02067, allocations: 0 / 312.2 MB, free: 2.621 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.003895/0.02456, allocations: 2.855 MB / 315.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.486e-05/0.02459, allocations: 8.031 kB / 315.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/0.02932, allocations: 1.838 MB / 316.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.02984, allocations: 366.9 kB / 317.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.02989, allocations: 103 kB / 317.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.03001, allocations: 128.4 kB / 317.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009534/0.03096, allocations: 1.166 MB / 318.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.03099, allocations: 12.12 kB / 318.7 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.03105, allocations: 55.94 kB / 318.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.03107, allocations: 36 kB / 318.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/0.03173, allocations: 0.6222 MB / 319.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/0.03541, allocations: 3.452 MB / 322.8 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008708/0.03628, allocations: 0.8536 MB / 323.7 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.03669, allocations: 271.6 kB / 324 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.03681, allocations: 44.91 kB / 324 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.03684, allocations: 51.55 kB / 324.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 3.316e-06/0.03684, allocations: 0 / 324.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.003619/0.04046, allocations: 2.055 MB / 326.1 MB, free: 4.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.0405, allocations: 98.12 kB / 326.2 MB, free: 4.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.04077, allocations: 387 kB / 326.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.04082, allocations: 45.7 kB / 326.6 MB, free: 3.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.041, allocations: 453.5 kB / 327.1 MB, free: 3.375 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.04121, allocations: 444.1 kB / 327.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.04139, allocations: 218.7 kB / 327.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.04148, allocations: 382.6 kB / 328.1 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.04167, allocations: 169.4 kB / 328.3 MB, free: 2.168 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.04195, allocations: 416.5 kB / 328.7 MB, free: 1.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.0425, allocations: 0.7003 MB / 329.4 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.04251, allocations: 7.938 kB / 329.4 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0008896/0.0434, allocations: 0.843 MB / 330.2 MB, free: 4 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.04344, allocations: 11.98 kB / 330.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.04345, allocations: 8 kB / 330.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006733/0.04412, allocations: 388.9 kB / 330.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.04455, allocations: 223.7 kB / 330.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.569e-05/0.04463, allocations: 49.27 kB / 330.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.04494, allocations: 115.2 kB / 331 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.04499, allocations: 35.98 kB / 331 MB, free: 15.18 MB / 330.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.0002032/0.04519, allocations: 193.5 kB / 331.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.04529, allocations: 91.86 kB / 331.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008689/0.04616, allocations: 0.8297 MB / 332.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.04618, allocations: 16 kB / 332.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.04618, allocations: 4 kB / 332.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.04619, allocations: 3.984 kB / 332.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.04779, allocations: 1.463 MB / 333.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.0478, allocations: 4 kB / 333.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.04814, allocations: 163.8 kB / 333.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.04833, allocations: 123.2 kB / 333.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005976/0.04893, allocations: 379.2 kB / 334.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.04897, allocations: 23.98 kB / 334.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001284/0.0491, allocations: 76.53 kB / 334.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.04911, allocations: 0 / 334.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.05025, allocations: 1.226 MB / 335.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.05031, allocations: 20 kB / 335.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.05055, allocations: 39.98 kB / 335.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.05064, allocations: 89.17 kB / 335.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.05067, allocations: 20 kB / 335.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.85e-05/0.05077, allocations: 152.7 kB / 335.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05077, allocations: 0 / 335.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000586/0.05136, allocations: 351.2 kB / 336.3 MB, free: 9.859 MB / 330.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.0002057/0.05157, allocations: 148.2 kB / 336.4 MB, free: 9.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009543/0.05252, allocations: 0.7766 MB / 337.2 MB, free: 8.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.529e-05/0.05254, allocations: 20.42 kB / 337.2 MB, free: 8.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005568/0.0531, allocations: 473.1 kB / 337.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.05349, allocations: 185.9 kB / 337.8 MB, free: 8.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008215/0.06171, allocations: 1.913 MB / 339.8 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.06183, allocations: 203.2 kB / 340 MB, free: 6.094 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.0621, allocations: 110.4 kB / 340.1 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.06234, allocations: 175.3 kB / 340.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.06234, allocations: 0 / 340.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of Templates: time 0.01567/0.07801, allocations: 13.4 MB / 353.6 MB, free: 8.578 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.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.263204848393798]