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.001514/0.001514, allocations: 80.91 kB / 20.51 MB, free: 1.273 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.001717/0.001717, allocations: 168.5 kB / 23.76 MB, free: 4.461 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.58/1.58, allocations: 158.6 MB / 185.5 MB, free: 6.238 MB / 174.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.2296/0.2296, allocations: 32.37 MB / 270.1 MB, free: 2.711 MB / 254.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.002373/0.002373, allocations: 75.89 kB / 407.8 MB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1506, allocations: 61.04 MB / 468.8 MB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.0115/0.1621, allocations: 6.794 MB / 475.6 MB, free: 1.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.314/0.476, allocations: 2.245 MB / 477.8 MB, free: 43.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.4774, allocations: 30.91 kB / 477.9 MB, free: 43.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004473/0.4818, allocations: 1.788 MB / 479.7 MB, free: 43.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.4841, allocations: 0.7212 MB / 480.4 MB, free: 43.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.4862, allocations: 1.029 MB / 481.4 MB, free: 43.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.4876, allocations: 1.441 MB / 482.8 MB, free: 43.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.4887, allocations: 0.9245 MB / 483.8 MB, free: 43.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.4893, allocations: 0.6224 MB / 484.4 MB, free: 42.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006223/0.4899, allocations: 0.6618 MB / 485.1 MB, free: 42.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.4901, allocations: 113.7 kB / 485.2 MB, free: 42.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006495/0.4907, allocations: 319.5 kB / 485.5 MB, free: 42.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.4909, allocations: 307.6 kB / 485.8 MB, free: 42.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.4913, allocations: 0.5462 MB / 486.3 MB, free: 42.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.493, allocations: 1.792 MB / 488.1 MB, free: 41.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.493, allocations: 0 / 488.1 MB, free: 41.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.493, allocations: 3.938 kB / 488.1 MB, free: 41.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.414e-05/0.493, allocations: 7.938 kB / 488.1 MB, free: 41.57 MB / 446.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.006715/0.4998, allocations: 2.35 MB / 490.5 MB, free: 40.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4998, allocations: 8.75 kB / 490.5 MB, free: 40.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.5099, allocations: 1.505 MB / 492 MB, free: 40.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.511, allocations: 0.5715 MB / 492.6 MB, free: 39.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.5111, allocations: 99.06 kB / 492.7 MB, free: 39.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.5113, allocations: 136.5 kB / 492.8 MB, free: 39.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.5136, allocations: 1.64 MB / 494.4 MB, free: 38.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.5136, allocations: 3.953 kB / 494.4 MB, free: 38.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.5138, allocations: 56.91 kB / 494.5 MB, free: 38.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.5138, allocations: 32.25 kB / 494.5 MB, free: 38.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.516, allocations: 1.561 MB / 496.1 MB, free: 38.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006487/0.5225, allocations: 4.327 MB / 0.4887 GB, free: 35.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.5243, allocations: 1.098 MB / 0.4898 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000813/0.5251, allocations: 0.5573 MB / 0.4903 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.98e-05/0.5252, allocations: 28.78 kB / 0.4903 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.5252, allocations: 49.94 kB / 0.4904 GB, free: 34.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=129): time 3.366e-06/0.5252, allocations: 0 / 0.4904 GB, free: 34.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.008396/0.5336, allocations: 3.053 MB / 0.4934 GB, free: 34.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.5337, allocations: 90.48 kB / 0.4934 GB, free: 33.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.5343, allocations: 438.9 kB / 0.4939 GB, free: 33.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.5343, allocations: 50.36 kB / 0.4939 GB, free: 33.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.5346, allocations: 0.4984 MB / 0.4944 GB, free: 33.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.5349, allocations: 457 kB / 0.4948 GB, free: 32.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.5353, allocations: 225.4 kB / 0.495 GB, free: 32.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5354, allocations: 381.5 kB / 0.4954 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008712/0.5363, allocations: 461.4 kB / 0.4959 GB, free: 32.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.5373, allocations: 0.7467 MB / 0.4966 GB, free: 31.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.5393, allocations: 1.257 MB / 0.4978 GB, free: 30.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.5393, allocations: 7.375 kB / 0.4978 GB, free: 30.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003027/0.5423, allocations: 1.637 MB / 0.4994 GB, free: 30.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5423, allocations: 8.094 kB / 0.4994 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.5423, allocations: 8.531 kB / 0.4994 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.544, allocations: 0.5283 MB / 0.4999 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.5449, allocations: 217.1 kB / 0.5002 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000228/0.5451, allocations: 62.16 kB / 0.5002 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/0.5459, allocations: 123.4 kB / 0.5003 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.5461, allocations: 54.16 kB / 0.5004 GB, free: 29.95 MB / 446.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.0005514/0.5466, allocations: 279 kB / 0.5006 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.5469, allocations: 81.98 kB / 0.5007 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/0.5503, allocations: 1.561 MB / 0.5023 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/0.5503, allocations: 19.09 kB / 0.5023 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/0.5503, allocations: 0.7969 kB / 0.5023 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.5504, allocations: 7.859 kB / 0.5023 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006441/0.5568, allocations: 2.497 MB / 0.5047 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.5568, allocations: 0 / 0.5047 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/0.5575, allocations: 148.3 kB / 0.5049 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.559, allocations: 0.5192 MB / 0.5054 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-05/0.5591, allocations: 25.28 kB / 0.5054 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001023/0.5592, allocations: 28.16 kB / 0.5054 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5592, allocations: 0 / 0.5054 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/0.5633, allocations: 2.279 MB / 0.5076 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005891/0.5639, allocations: 207.6 kB / 0.5078 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.5641, allocations: 21.61 kB / 0.5079 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.5649, allocations: 49.52 kB / 0.5079 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.5651, allocations: 80.02 kB / 0.508 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.431e-05/0.5652, allocations: 38.39 kB / 0.508 GB, free: 26.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004216/0.5656, allocations: 285 kB / 0.5083 GB, free: 25.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5656, allocations: 1.406 kB / 0.5083 GB, free: 25.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001711/0.5673, allocations: 359.1 kB / 0.5086 GB, free: 25.88 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 (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.0003403/0.5677, allocations: 155.4 kB / 0.5088 GB, free: 25.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003473/0.5711, allocations: 1.296 MB / 0.51 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5711, allocations: 1.312 kB / 0.51 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.5731, allocations: 0.6895 MB / 0.5107 GB, free: 25.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.5739, allocations: 97.06 kB / 0.5108 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.5792, allocations: 2.118 MB / 0.5129 GB, free: 23.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007768/0.58, allocations: 465.4 kB / 0.5133 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000533/0.5805, allocations: 112.8 kB / 0.5134 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.5807, allocations: 66.52 kB / 0.5135 GB, free: 23.69 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5807, allocations: 0 / 0.5135 GB, free: 23.69 MB / 446.1 MB Notification: Performance of Templates: time 0.02711/0.6079, allocations: 12.18 MB / 0.5254 GB, free: 19.46 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/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.07958011305891]