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.001314/0.001314, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001507/0.001507, allocations: 213.5 kB / 22.99 MB, free: 4.977 MB / 14.72 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.812/1.812, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.2488/0.2488, allocations: 44.27 MB / 330.3 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002327/0.002327, allocations: 70.72 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1657, allocations: 61.05 MB / 0.5166 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009638/0.1754, allocations: 6.79 MB / 0.5233 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00765/0.183, allocations: 2.26 MB / 0.5255 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.1855, allocations: 27.94 kB / 0.5255 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005543/0.1911, allocations: 1.692 MB / 0.5272 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003701/0.1948, allocations: 0.7224 MB / 0.5279 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.1982, allocations: 1.032 MB / 0.5289 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003479/0.2017, allocations: 1.448 MB / 0.5303 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002946/0.2047, allocations: 0.9107 MB / 0.5312 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.2062, allocations: 0.6267 MB / 0.5318 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.2078, allocations: 0.6611 MB / 0.5324 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005435/0.2083, allocations: 116 kB / 0.5325 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.2099, allocations: 319.8 kB / 0.5329 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006202/0.2105, allocations: 314.8 kB / 0.5332 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.212, allocations: 0.5404 MB / 0.5337 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003857/0.2158, allocations: 1.79 MB / 0.5354 GB, free: 3.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.2158, allocations: 7.984 kB / 0.5354 GB, free: 3.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2158, allocations: 0 / 0.5354 GB, free: 3.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.691e-05/0.2159, allocations: 0 / 0.5354 GB, free: 3.312 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.00927/0.2252, allocations: 2.358 MB / 0.5377 GB, free: 0.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.2252, allocations: 8.031 kB / 0.5377 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3557/0.581, allocations: 1.497 MB / 0.5392 GB, free: 28.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.5828, allocations: 0.567 MB / 0.5398 GB, free: 28.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.583, allocations: 104.8 kB / 0.5399 GB, free: 28.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.5832, allocations: 134.7 kB / 0.54 GB, free: 28.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.5865, allocations: 1.63 MB / 0.5416 GB, free: 27.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/0.5866, allocations: 5.75 kB / 0.5416 GB, free: 27.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.5867, allocations: 61.62 kB / 0.5416 GB, free: 27.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.5868, allocations: 34.41 kB / 0.5417 GB, free: 27.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.5899, allocations: 1.562 MB / 0.5432 GB, free: 27.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008582/0.5985, allocations: 4.323 MB / 0.5474 GB, free: 24.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.6008, allocations: 1.094 MB / 0.5485 GB, free: 24.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.6018, allocations: 0.5525 MB / 0.549 GB, free: 24.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.6019, allocations: 26.16 kB / 0.5491 GB, free: 24.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.602, allocations: 48.59 kB / 0.5491 GB, free: 23.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.637e-06/0.602, allocations: 4.938 kB / 0.5491 GB, free: 23.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009725/0.6117, allocations: 3.054 MB / 0.5521 GB, free: 23.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.6118, allocations: 95.02 kB / 0.5522 GB, free: 23.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.6123, allocations: 435.8 kB / 0.5526 GB, free: 22.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.6124, allocations: 50.7 kB / 0.5526 GB, free: 22.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.6127, allocations: 0.4994 MB / 0.5531 GB, free: 22.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.613, allocations: 447.3 kB / 0.5536 GB, free: 22.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/0.6134, allocations: 229 kB / 0.5538 GB, free: 21.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6135, allocations: 376.7 kB / 0.5541 GB, free: 21.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009075/0.6144, allocations: 475.1 kB / 0.5546 GB, free: 21.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.6155, allocations: 0.7453 MB / 0.5553 GB, free: 20.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.6173, allocations: 1.261 MB / 0.5566 GB, free: 20.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.6173, allocations: 2.875 kB / 0.5566 GB, free: 20.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003105/0.6204, allocations: 1.642 MB / 0.5582 GB, free: 19.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.6204, allocations: 10.03 kB / 0.5582 GB, free: 19.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.6204, allocations: 7.438 kB / 0.5582 GB, free: 19.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.6221, allocations: 0.5271 MB / 0.5587 GB, free: 19.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008343/0.623, allocations: 214.4 kB / 0.5589 GB, free: 19.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002189/0.6232, allocations: 58.31 kB / 0.5589 GB, free: 19.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.6239, allocations: 130.8 kB / 0.5591 GB, free: 19.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.624, allocations: 54.92 kB / 0.5591 GB, free: 19.05 MB / 414.1 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.0004915/0.6245, allocations: 274.3 kB / 0.5594 GB, free: 18.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.6247, allocations: 81.83 kB / 0.5595 GB, free: 18.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.6278, allocations: 1.553 MB / 0.561 GB, free: 18.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/0.6279, allocations: 21.14 kB / 0.561 GB, free: 18.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.6279, allocations: 1.188 kB / 0.561 GB, free: 18.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/0.6279, allocations: 11.67 kB / 0.561 GB, free: 18.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/0.6329, allocations: 2.506 MB / 0.5635 GB, free: 16.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.6329, allocations: 0.6094 kB / 0.5635 GB, free: 16.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.6336, allocations: 147.4 kB / 0.5636 GB, free: 16.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.6351, allocations: 0.5159 MB / 0.5641 GB, free: 16.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.6352, allocations: 26.39 kB / 0.5641 GB, free: 16.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.239e-05/0.6353, allocations: 26.75 kB / 0.5642 GB, free: 16.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6353, allocations: 8 kB / 0.5642 GB, free: 16.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/0.6392, allocations: 2.274 MB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.6398, allocations: 204.2 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.6399, allocations: 34.17 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/0.6405, allocations: 44.62 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.6407, allocations: 81.59 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/0.6408, allocations: 34.02 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003732/0.6412, allocations: 280.9 kB / 0.567 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6412, allocations: 5.219 kB / 0.567 GB, free: 15.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001303/0.6425, allocations: 358.6 kB / 0.5674 GB, free: 15 MB / 414.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 (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.0002994/0.6428, allocations: 163 kB / 0.5675 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003177/0.646, allocations: 1.301 MB / 0.5688 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.646, allocations: 1.062 kB / 0.5688 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.6477, allocations: 0.6826 MB / 0.5695 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.6484, allocations: 94.05 kB / 0.5696 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.6522, allocations: 2.131 MB / 0.5716 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.6527, allocations: 462.4 kB / 0.5721 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005173/0.6532, allocations: 110.9 kB / 0.5722 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.6534, allocations: 61.81 kB / 0.5722 GB, free: 12.83 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6534, allocations: 0 / 0.5722 GB, free: 12.83 MB / 414.1 MB Notification: Performance of Templates: time 0.02114/0.6746, allocations: 13.46 MB / 0.5854 GB, free: 2.328 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.650336291640997]