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.001289/0.001289, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001076/0.001076, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 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.9926/0.9926, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.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.2521/0.2521, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.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.483e-06/1.483e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.375e-05, allocations: 2.312 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005636/0.00565, allocations: 7.401 MB / 332.7 MB, free: 224 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003123/0.008773, allocations: 2.45 MB / 335.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003303/0.009103, allocations: 27.94 kB / 335.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.01092, allocations: 1.913 MB / 337.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009166/0.01183, allocations: 0.718 MB / 337.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.01298, allocations: 1.051 MB / 338.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009897/0.01397, allocations: 1.462 MB / 340.3 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008537/0.01482, allocations: 0.973 MB / 341.3 MB, free: 7.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006454/0.01546, allocations: 0.8653 MB / 342.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.01592, allocations: 0.5804 MB / 342.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.01603, allocations: 112 kB / 342.8 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.01644, allocations: 339.5 kB / 343.2 MB, free: 5.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.01658, allocations: 302.8 kB / 343.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.01686, allocations: 466.8 kB / 343.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009593/0.01781, allocations: 1.226 MB / 345.1 MB, free: 3.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01782, allocations: 7.984 kB / 345.1 MB, free: 3.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01782, allocations: 0 / 345.1 MB, free: 3.688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.01783, allocations: 0 / 345.1 MB, free: 3.688 MB / 314.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.003926/0.02176, allocations: 2.506 MB / 347.6 MB, free: 1.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.02179, allocations: 11.97 kB / 347.7 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005496/0.02729, allocations: 1.838 MB / 349.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.02779, allocations: 374.9 kB / 349.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/0.02785, allocations: 95.02 kB / 350 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.02798, allocations: 136.3 kB / 350.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.02904, allocations: 1.158 MB / 351.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.02906, allocations: 4.188 kB / 351.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-05/0.02913, allocations: 59.94 kB / 351.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.02915, allocations: 36 kB / 351.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007093/0.02986, allocations: 0.6339 MB / 352 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003502/0.03337, allocations: 3.425 MB / 355.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007812/0.03415, allocations: 0.8554 MB / 356.3 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.0344, allocations: 267.6 kB / 356.5 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.413e-05/0.03448, allocations: 52.89 kB / 356.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.03451, allocations: 51.5 kB / 356.6 MB, free: 7.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 2.685e-06/0.03451, allocations: 4 kB / 356.6 MB, free: 7.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.003507/0.03802, allocations: 2.055 MB / 358.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.03805, allocations: 94.11 kB / 358.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.03826, allocations: 390.9 kB / 359.2 MB, free: 5.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.0383, allocations: 45.7 kB / 359.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.03846, allocations: 449.5 kB / 359.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.03865, allocations: 448.1 kB / 360.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.03886, allocations: 214.7 kB / 360.3 MB, free: 4.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.03897, allocations: 386.6 kB / 360.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.03916, allocations: 169.3 kB / 360.8 MB, free: 3.609 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.03946, allocations: 420.5 kB / 361.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.04004, allocations: 0.7002 MB / 361.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.04005, allocations: 3.938 kB / 361.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0008913/0.04094, allocations: 0.8388 MB / 362.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.04096, allocations: 11.98 kB / 362.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.04096, allocations: 4 kB / 362.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006742/0.04164, allocations: 393.2 kB / 363.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.04204, allocations: 203.7 kB / 363.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.868e-05/0.04213, allocations: 61.25 kB / 363.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.04239, allocations: 107.2 kB / 363.5 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.04244, allocations: 40 kB / 363.6 MB, free: 0.6406 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.0001851/0.04262, allocations: 189.5 kB / 363.8 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.04273, allocations: 79.94 kB / 363.9 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/0.04362, allocations: 0.8345 MB / 364.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.04363, allocations: 19.98 kB / 364.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.04363, allocations: 0 / 364.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.04364, allocations: 7.969 kB / 364.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.04519, allocations: 1.462 MB / 366.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.04519, allocations: 4 kB / 366.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.04551, allocations: 147.8 kB / 366.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006261/0.04614, allocations: 375.3 kB / 366.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.04618, allocations: 27.98 kB / 366.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001286/0.04631, allocations: 69.72 kB / 366.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.04631, allocations: 0 / 366.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.04753, allocations: 1.226 MB / 368 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.04773, allocations: 123.1 kB / 368.1 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.04779, allocations: 20 kB / 368.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.04803, allocations: 43.97 kB / 368.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.04814, allocations: 77.16 kB / 368.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.04818, allocations: 32 kB / 368.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.04828, allocations: 148.7 kB / 368.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04828, allocations: 0 / 368.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000478/0.04876, allocations: 359.2 kB / 368.8 MB, free: 11.34 MB / 346.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.0002055/0.04896, allocations: 148.2 kB / 368.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009309/0.04989, allocations: 0.7728 MB / 369.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.0499, allocations: 8.5 kB / 369.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005704/0.05047, allocations: 466.2 kB / 370.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.05082, allocations: 124.6 kB / 370.3 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.05281, allocations: 1.828 MB / 372.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.05293, allocations: 203.1 kB / 372.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002285/0.05316, allocations: 106.4 kB / 372.4 MB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.0534, allocations: 175.3 kB / 372.6 MB, free: 7.465 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0534, allocations: 0 / 372.6 MB, free: 7.465 MB / 346.7 MB Notification: Performance of Templates: time 0.0148/0.0682, allocations: 13.07 MB / 385.7 MB, free: 10.57 MB / 362.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 -s gbode -gbm=radauIIA3 -emit_protected -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.1287184609100223]