Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001053/0.001053, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001108/0.001108, allocations: 169 kB / 24.24 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1405/0.1405, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.937e-05, allocations: 2.312 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005584/0.005603, allocations: 7.475 MB / 355.1 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.009617, allocations: 2.302 MB / 357.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006317/0.01025, allocations: 31.94 kB / 357.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.01269, allocations: 1.909 MB / 359.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.01407, allocations: 0.7376 MB / 360.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.01549, allocations: 1.036 MB / 361.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.0166, allocations: 1.492 MB / 362.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009479/0.01755, allocations: 0.9262 MB / 363.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006348/0.01818, allocations: 0.8731 MB / 364.4 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.01864, allocations: 0.5843 MB / 365 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.01875, allocations: 112 kB / 365.1 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.01933, allocations: 319.6 kB / 365.4 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.0195, allocations: 318.8 kB / 365.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.01982, allocations: 470.8 kB / 366.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.02099, allocations: 1.234 MB / 367.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.021, allocations: 0 / 367.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.021, allocations: 0 / 367.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.02101, allocations: 4 kB / 367.5 MB, free: 5.879 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.004337/0.02535, allocations: 2.486 MB / 369.9 MB, free: 3.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.02539, allocations: 12.03 kB / 370 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006232/0.03162, allocations: 1.842 MB / 371.8 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006724/0.0323, allocations: 0.5821 MB / 372.4 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.03236, allocations: 99.09 kB / 372.5 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.0325, allocations: 136.4 kB / 372.6 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.03403, allocations: 1.29 MB / 373.9 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.03406, allocations: 4.172 kB / 373.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.655e-05/0.03415, allocations: 63.94 kB / 374 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.03417, allocations: 40 kB / 374 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.0354, allocations: 0.9009 MB / 374.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004327/0.03972, allocations: 4.392 MB / 379.3 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.04086, allocations: 1.01 MB / 380.3 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000458/0.04132, allocations: 385.8 kB / 380.7 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-05/0.0414, allocations: 36.98 kB / 380.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.04143, allocations: 50.39 kB / 380.8 MB, free: 8.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 4.459e-06/0.04144, allocations: 3.984 kB / 380.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.004819/0.04625, allocations: 2.504 MB / 383.3 MB, free: 5.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.04629, allocations: 94.05 kB / 383.4 MB, free: 5.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.04664, allocations: 482.4 kB / 383.8 MB, free: 5.113 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.04669, allocations: 45.7 kB / 383.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.04693, allocations: 0.5424 MB / 384.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.04717, allocations: 452.2 kB / 384.9 MB, free: 4.066 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.04742, allocations: 244.5 kB / 385.1 MB, free: 3.816 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.04759, allocations: 0.5626 MB / 385.7 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.04796, allocations: 255.2 kB / 385.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.04853, allocations: 0.6547 MB / 386.6 MB, free: 2.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.04955, allocations: 0.9858 MB / 387.6 MB, free: 1.043 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.04956, allocations: 0 / 387.6 MB, free: 1.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001818/0.05137, allocations: 1.247 MB / 388.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.0514, allocations: 8 kB / 388.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.05141, allocations: 11.98 kB / 388.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000852/0.05226, allocations: 425.4 kB / 389.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.0527, allocations: 211.7 kB / 389.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/0.05281, allocations: 68.06 kB / 389.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.05331, allocations: 139 kB / 389.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/0.05339, allocations: 48 kB / 389.7 MB, free: 14.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.0002588/0.05365, allocations: 228.3 kB / 389.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.05379, allocations: 127.5 kB / 390 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.05529, allocations: 1.147 MB / 391.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.0553, allocations: 12 kB / 391.2 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.05532, allocations: 3.938 kB / 391.2 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.05533, allocations: 3.984 kB / 391.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.05771, allocations: 2.099 MB / 393.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.05772, allocations: 4 kB / 393.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.05804, allocations: 147.8 kB / 393.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009318/0.05897, allocations: 418.7 kB / 393.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/0.05905, allocations: 24 kB / 393.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.601e-05/0.05914, allocations: 31.67 kB / 393.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.05914, allocations: 4 kB / 393.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.06117, allocations: 1.609 MB / 395.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.06143, allocations: 211 kB / 395.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/0.0615, allocations: 20 kB / 395.8 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.06176, allocations: 47.91 kB / 395.8 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.06189, allocations: 81.16 kB / 395.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.06193, allocations: 32 kB / 395.9 MB, free: 8.551 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.06213, allocations: 299 kB / 396.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06213, allocations: 4.031 kB / 396.2 MB, free: 8.262 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006801/0.06281, allocations: 359.2 kB / 396.6 MB, free: 7.91 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 (86): * Single equations (assignments): 85 * 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.0002485/0.06306, allocations: 163 kB / 396.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.06451, allocations: 0.9859 MB / 397.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.06452, allocations: 0 / 397.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008154/0.06533, allocations: 0.5555 MB / 398.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.06579, allocations: 133.8 kB / 398.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.06841, allocations: 1.933 MB / 400.3 MB, free: 4.086 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.06854, allocations: 207.2 kB / 400.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.0688, allocations: 110.8 kB / 400.6 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.06894, allocations: 68.48 kB / 400.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.06894, allocations: 0 / 400.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of Templates: time 0.01459/0.08353, allocations: 12.23 MB / 412.9 MB, free: 7.535 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.51686834404245]