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.000839/0.000839, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.001949, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006963/0.0006963, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009026/0.001599, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9637/0.9637, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0956/1.059, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.284/0.284, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02775/0.3117, allocations: 13.1 MB / 291.5 MB, free: 7.355 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.172e-06/1.172e-06, allocations: 0 / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.609e-05, allocations: 2.859 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.0134/0.01341, allocations: 7.448 MB / 300.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007467/0.02088, allocations: 2.454 MB / 302.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004748/0.02136, allocations: 35.88 kB / 302.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005464/0.02682, allocations: 1.924 MB / 304.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004456/0.03128, allocations: 0.7181 MB / 305.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.03288, allocations: 1.038 MB / 306.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004327/0.03721, allocations: 1.453 MB / 307.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.0383, allocations: 0.8991 MB / 308.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009156/0.03921, allocations: 0.9073 MB / 309.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.04197, allocations: 0.5765 MB / 310.3 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.04215, allocations: 112 kB / 310.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007759/0.04293, allocations: 339.5 kB / 310.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.04311, allocations: 215.2 kB / 310.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.0435, allocations: 363.3 kB / 311.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.04489, allocations: 1.121 MB / 312.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.213e-05/0.04492, allocations: 0 / 312.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.686e-06/0.04492, allocations: 0 / 312.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.821e-05/0.04496, allocations: 0 / 312.4 MB, free: 2.543 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.008312/0.05327, allocations: 2.858 MB / 315.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.05331, allocations: 8.031 kB / 315.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007113/0.06043, allocations: 1.831 MB / 317.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.06119, allocations: 378.8 kB / 317.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/0.06125, allocations: 103 kB / 317.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.06141, allocations: 132.4 kB / 317.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.06258, allocations: 1.158 MB / 318.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.06261, allocations: 8.078 kB / 318.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/0.06268, allocations: 55.94 kB / 318.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.0627, allocations: 36 kB / 319 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007322/0.06343, allocations: 0.6222 MB / 319.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/0.06767, allocations: 3.449 MB / 323 MB, free: 7.613 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000802/0.06847, allocations: 0.8559 MB / 323.9 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.06873, allocations: 275.5 kB / 324.2 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.968e-05/0.06882, allocations: 44.91 kB / 324.2 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.06884, allocations: 47.56 kB / 324.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 4.128e-06/0.06885, allocations: 4 kB / 324.3 MB, free: 6.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.003555/0.0724, allocations: 2.059 MB / 326.3 MB, free: 4.293 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.07244, allocations: 90.11 kB / 326.4 MB, free: 4.184 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.07266, allocations: 383 kB / 326.8 MB, free: 3.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.07271, allocations: 45.7 kB / 326.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.07287, allocations: 453.5 kB / 327.3 MB, free: 3.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.07308, allocations: 448.1 kB / 327.7 MB, free: 2.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.07328, allocations: 214.7 kB / 327.9 MB, free: 2.641 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.07337, allocations: 386.6 kB / 328.3 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.07356, allocations: 165.4 kB / 328.4 MB, free: 2.094 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.07385, allocations: 424.5 kB / 328.9 MB, free: 1.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/0.07446, allocations: 0.7115 MB / 329.6 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.07447, allocations: 7.938 kB / 329.6 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00116/0.07563, allocations: 0.839 MB / 330.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.07565, allocations: 8 kB / 330.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.07566, allocations: 11.98 kB / 330.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/0.07634, allocations: 389.1 kB / 330.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.07676, allocations: 227.6 kB / 331 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.106e-05/0.07685, allocations: 45.33 kB / 331.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.07725, allocations: 115.2 kB / 331.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.0773, allocations: 43.92 kB / 331.2 MB, free: 15.09 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.0002205/0.07752, allocations: 189.5 kB / 331.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.07762, allocations: 87.92 kB / 331.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/0.07855, allocations: 0.8345 MB / 332.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.07856, allocations: 12 kB / 332.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.07857, allocations: 4 kB / 332.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.07858, allocations: 3.984 kB / 332.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.08023, allocations: 1.459 MB / 333.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.08023, allocations: 0 / 333.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.08057, allocations: 167.8 kB / 334 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.08078, allocations: 123.1 kB / 334.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006636/0.08144, allocations: 386.6 kB / 334.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.08149, allocations: 27.98 kB / 334.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001307/0.08162, allocations: 65.72 kB / 334.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.08162, allocations: 0 / 334.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.08283, allocations: 1.226 MB / 335.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.66e-05/0.0829, allocations: 31.98 kB / 335.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.08316, allocations: 44.02 kB / 335.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.08327, allocations: 81.16 kB / 336 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.08331, allocations: 23.98 kB / 336 MB, free: 10.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.08342, allocations: 152.7 kB / 336.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08342, allocations: 0 / 336.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006531/0.08407, allocations: 347.2 kB / 336.5 MB, free: 9.766 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.0002245/0.0843, allocations: 156.2 kB / 336.6 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.08564, allocations: 0.7875 MB / 337.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-05/0.08567, allocations: 19.11 kB / 337.4 MB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.0863, allocations: 0.5251 MB / 338 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.08692, allocations: 0.7555 MB / 338.7 MB, free: 7.387 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009074/0.096, allocations: 1.92 MB / 340.6 MB, free: 5.434 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.09616, allocations: 207.1 kB / 340.8 MB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003879/0.09654, allocations: 106.7 kB / 340.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.09682, allocations: 183.3 kB / 341.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of SimCode: time 2.345e-06/0.09682, allocations: 0 / 341.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of Templates: time 0.0186/0.1154, allocations: 13.31 MB / 354.4 MB, free: 7.773 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.17480007186532]