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.001966/0.001966, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002687/0.002687, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.2814/0.2814, allocations: 44.94 MB / 359.6 MB, free: 6.082 MB / 286.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.89 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3202, allocations: 65.47 MB / 0.5582 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009407/0.3296, allocations: 6.816 MB / 0.5648 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005145/0.3347, allocations: 2.298 MB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.3355, allocations: 31.88 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00434/0.3399, allocations: 1.684 MB / 0.5688 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.3422, allocations: 0.7064 MB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.3447, allocations: 1.027 MB / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.3468, allocations: 1.421 MB / 0.5718 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.3483, allocations: 0.9067 MB / 0.5727 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00086/0.3492, allocations: 0.6189 MB / 0.5733 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008138/0.35, allocations: 0.6455 MB / 0.574 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.3502, allocations: 112 kB / 0.5741 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007724/0.3509, allocations: 327.8 kB / 0.5744 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003356/0.3513, allocations: 294.9 kB / 0.5747 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005501/0.3518, allocations: 0.5326 MB / 0.5752 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.3542, allocations: 1.79 MB / 0.5769 GB, free: 4.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3542, allocations: 0 / 0.5769 GB, free: 4.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3542, allocations: 3.938 kB / 0.5769 GB, free: 4.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.219e-05/0.3542, allocations: 0 / 0.5769 GB, free: 4.102 MB / 414.1 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.008653/0.3629, allocations: 2.338 MB / 0.5792 GB, free: 1.727 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.3629, allocations: 8.031 kB / 0.5792 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009629/0.3726, allocations: 1.335 MB / 0.5805 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.3741, allocations: 0.5605 MB / 0.5811 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.3742, allocations: 99.02 kB / 0.5812 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.3744, allocations: 136.3 kB / 0.5813 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/0.3773, allocations: 1.591 MB / 0.5829 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.3773, allocations: 15.88 kB / 0.5829 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.3775, allocations: 52 kB / 0.5829 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/0.3775, allocations: 36 kB / 0.583 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002789/0.3803, allocations: 1.497 MB / 0.5844 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008316/0.3886, allocations: 4.274 MB / 0.5886 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.3907, allocations: 1.076 MB / 0.5896 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.3918, allocations: 0.5421 MB / 0.5902 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.3919, allocations: 40.97 kB / 0.5902 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/0.392, allocations: 51.5 kB / 0.5903 GB, free: 6.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.167e-06/0.392, allocations: 0 / 0.5903 GB, free: 6.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.00939/0.4014, allocations: 2.986 MB / 0.5932 GB, free: 3.168 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.4014, allocations: 90.11 kB / 0.5933 GB, free: 3.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005382/0.402, allocations: 421.7 kB / 0.5937 GB, free: 2.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.4021, allocations: 45.7 kB / 0.5937 GB, free: 2.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.4024, allocations: 488.8 kB / 0.5942 GB, free: 2.105 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.4028, allocations: 448.2 kB / 0.5946 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.4032, allocations: 218.8 kB / 0.5948 GB, free: 1.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.4034, allocations: 378.7 kB / 0.5952 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009159/0.4043, allocations: 458.4 kB / 0.5956 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.4055, allocations: 0.6996 MB / 0.5963 GB, free: 15.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.4076, allocations: 1.205 MB / 0.5975 GB, free: 14.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.4076, allocations: 8 kB / 0.5975 GB, free: 14.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003262/0.4109, allocations: 1.579 MB / 0.599 GB, free: 12.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.4109, allocations: 10.81 kB / 0.599 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.4109, allocations: 8 kB / 0.599 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.4125, allocations: 0.524 MB / 0.5995 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/0.4134, allocations: 199.7 kB / 0.5997 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002032/0.4136, allocations: 49.25 kB / 0.5998 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.4143, allocations: 119.2 kB / 0.5999 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-05/0.4144, allocations: 47.94 kB / 0.5999 GB, free: 11.98 MB / 446.1 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.0005378/0.4149, allocations: 281.5 kB / 0.6002 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.4151, allocations: 83.48 kB / 0.6003 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/0.4183, allocations: 1.54 MB / 0.6018 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.4183, allocations: 12 kB / 0.6018 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.4183, allocations: 3.938 kB / 0.6018 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.4183, allocations: 7.969 kB / 0.6018 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/0.4235, allocations: 2.489 MB / 0.6043 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4235, allocations: 4 kB / 0.6043 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.4242, allocations: 143.8 kB / 0.6044 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/0.4257, allocations: 0.5184 MB / 0.6049 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.4258, allocations: 27.98 kB / 0.6049 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003079/0.4261, allocations: 60.8 kB / 0.605 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.4261, allocations: 4 kB / 0.605 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/0.4305, allocations: 2.318 MB / 0.6072 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/0.4312, allocations: 203.1 kB / 0.6074 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.4313, allocations: 20 kB / 0.6075 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/0.432, allocations: 43.98 kB / 0.6075 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.4322, allocations: 85.08 kB / 0.6076 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.119e-05/0.4323, allocations: 40.06 kB / 0.6076 GB, free: 4.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003815/0.4327, allocations: 271.1 kB / 0.6079 GB, free: 3.754 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4327, allocations: 0 / 0.6079 GB, free: 3.754 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001088/0.4338, allocations: 355.2 kB / 0.6082 GB, free: 3.406 MB / 446.1 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.000351/0.4341, allocations: 167 kB / 0.6084 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.4373, allocations: 1.28 MB / 0.6096 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4373, allocations: 1.312 kB / 0.6096 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.4391, allocations: 0.6917 MB / 0.6103 GB, free: 1.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008375/0.4399, allocations: 97.86 kB / 0.6104 GB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.4442, allocations: 2.131 MB / 0.6125 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.4448, allocations: 454.3 kB / 0.6129 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.4451, allocations: 79.41 kB / 0.613 GB, free: 14.43 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4451, allocations: 0 / 0.613 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Templates: time 0.02825/0.4734, allocations: 17.21 MB / 0.6298 GB, free: 13.21 MB / 478.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.745535554364324]