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.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.001352/0.001352, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001655/0.001655, allocations: 168.5 kB / 24.82 MB, free: 9.203 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.9871/0.9871, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.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.238/0.238, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.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.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.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.503e-06/1.503e-06, allocations: 0 / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.645e-05, allocations: 9.547 kB / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008403/0.00842, allocations: 7.366 MB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.01162, allocations: 2.333 MB / 386.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.01192, allocations: 27.94 kB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.01376, allocations: 1.874 MB / 388.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009092/0.01467, allocations: 0.7143 MB / 388.8 MB, free: 8.023 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.01576, allocations: 1.032 MB / 389.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000933/0.01669, allocations: 1.459 MB / 391.3 MB, free: 5.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008302/0.01753, allocations: 0.9183 MB / 392.2 MB, free: 4.582 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006506/0.01818, allocations: 0.8692 MB / 393.1 MB, free: 3.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.01861, allocations: 0.561 MB / 393.6 MB, free: 3.148 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.01872, allocations: 116 kB / 393.7 MB, free: 3.035 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.01911, allocations: 327.5 kB / 394.1 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.01927, allocations: 302.8 kB / 394.4 MB, free: 2.418 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.01956, allocations: 470.8 kB / 394.8 MB, free: 1.957 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.02058, allocations: 1.23 MB / 396 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.02058, allocations: 0 / 396 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02059, allocations: 0 / 396 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.02059, allocations: 0 / 396 MB, free: 0.7227 MB / 362.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.003681/0.02428, allocations: 2.478 MB / 398.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.02431, allocations: 8.031 kB / 398.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/0.02902, allocations: 1.651 MB / 400.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.02956, allocations: 0.5522 MB / 400.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.02961, allocations: 103 kB / 400.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.02974, allocations: 136.3 kB / 401 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.03079, allocations: 1.14 MB / 402.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.03082, allocations: 4.125 kB / 402.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.0309, allocations: 59.94 kB / 402.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.03092, allocations: 35.98 kB / 402.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007524/0.03167, allocations: 0.7047 MB / 402.9 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/0.03557, allocations: 4.376 MB / 407.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008471/0.03642, allocations: 0.8974 MB / 408.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.03671, allocations: 321 kB / 408.5 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.0368, allocations: 52.95 kB / 408.5 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.03683, allocations: 46.39 kB / 408.6 MB, free: 3.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 2.535e-06/0.03683, allocations: 4 kB / 408.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.003991/0.04082, allocations: 2.274 MB / 410.9 MB, free: 1.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.04086, allocations: 90.11 kB / 411 MB, free: 1.434 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.04112, allocations: 458.2 kB / 411.4 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.04118, allocations: 45.7 kB / 411.5 MB, free: 0.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.04139, allocations: 0.5229 MB / 412 MB, free: 396 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.04162, allocations: 448.3 kB / 412.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.04184, allocations: 236.4 kB / 412.6 MB, free: 15.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.042, allocations: 0.5624 MB / 413.2 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.04222, allocations: 186.5 kB / 413.4 MB, free: 14.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.04261, allocations: 0.543 MB / 413.9 MB, free: 14.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/0.0433, allocations: 0.8143 MB / 414.7 MB, free: 13.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.0433, allocations: 4 kB / 414.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001132/0.04443, allocations: 1.046 MB / 415.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.04445, allocations: 8 kB / 415.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.04446, allocations: 8 kB / 415.8 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.04514, allocations: 413.2 kB / 416.2 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.04552, allocations: 203.6 kB / 416.4 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.64e-05/0.04562, allocations: 52.14 kB / 416.5 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.04589, allocations: 115.1 kB / 416.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.04594, allocations: 43.94 kB / 416.6 MB, free: 11.44 MB / 394.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.0001985/0.04613, allocations: 232.2 kB / 416.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.04626, allocations: 115.5 kB / 417 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.04733, allocations: 1.022 MB / 418 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.04734, allocations: 12 kB / 418 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.04734, allocations: 0 / 418 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.04735, allocations: 11.97 kB / 418 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.0492, allocations: 1.83 MB / 419.8 MB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.0492, allocations: 0 / 419.8 MB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.0495, allocations: 143.8 kB / 420 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006458/0.05015, allocations: 402.7 kB / 420.4 MB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/0.05021, allocations: 27.98 kB / 420.4 MB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001357/0.05034, allocations: 75.61 kB / 420.5 MB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.05035, allocations: 3.984 kB / 420.5 MB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.05184, allocations: 1.472 MB / 421.9 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.05208, allocations: 207.1 kB / 422.1 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.05214, allocations: 20 kB / 422.2 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.05239, allocations: 43.98 kB / 422.2 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.05249, allocations: 85.17 kB / 422.3 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.05252, allocations: 28 kB / 422.3 MB, free: 5.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.05265, allocations: 271 kB / 422.6 MB, free: 5.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05266, allocations: 0 / 422.6 MB, free: 5.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005033/0.05316, allocations: 355.1 kB / 422.9 MB, free: 5.012 MB / 394.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.0001916/0.05335, allocations: 167 kB / 423.1 MB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.05442, allocations: 0.8496 MB / 423.9 MB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.05442, allocations: 1.312 kB / 423.9 MB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000647/0.05507, allocations: 0.5115 MB / 424.5 MB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.05547, allocations: 121.9 kB / 424.6 MB, free: 3.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.05737, allocations: 1.848 MB / 426.4 MB, free: 1.465 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.05749, allocations: 207.1 kB / 426.6 MB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.05772, allocations: 102.4 kB / 426.7 MB, free: 1.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.05797, allocations: 210.1 kB / 426.9 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.05797, allocations: 0 / 426.9 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of Templates: time 0.01508/0.07305, allocations: 13.26 MB / 440.2 MB, free: 3.809 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2712016170844436]