Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001379/0.001379, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00156/0.00156, allocations: 209 kB / 24.48 MB, free: 3.938 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.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2466/0.2466, allocations: 46.96 MB / 361.6 MB, free: 4.098 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.89 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3555, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009944/0.3654, allocations: 6.816 MB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005645/0.3711, allocations: 2.298 MB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.3722, allocations: 31.94 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004581/0.3768, allocations: 1.684 MB / 0.5724 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.3795, allocations: 0.6988 MB / 0.5731 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.3823, allocations: 1.039 MB / 0.5741 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002473/0.3848, allocations: 1.425 MB / 0.5755 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.3865, allocations: 0.8989 MB / 0.5764 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009923/0.3875, allocations: 0.6228 MB / 0.577 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008952/0.3884, allocations: 0.6495 MB / 0.5776 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.3886, allocations: 112 kB / 0.5777 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008581/0.3894, allocations: 315.8 kB / 0.578 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.3897, allocations: 310.9 kB / 0.5783 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005941/0.3903, allocations: 0.5326 MB / 0.5788 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.3928, allocations: 1.778 MB / 0.5806 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3928, allocations: 0 / 0.5806 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3928, allocations: 0 / 0.5806 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.162e-05/0.3928, allocations: 0 / 0.5806 GB, free: 0.8789 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.008113/0.401, allocations: 2.346 MB / 0.5828 GB, free: 14.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.401, allocations: 12.03 kB / 0.5829 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009546/0.4106, allocations: 1.327 MB / 0.5842 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.4121, allocations: 0.5645 MB / 0.5847 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.4122, allocations: 99.02 kB / 0.5848 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.4125, allocations: 128.4 kB / 0.5849 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.4155, allocations: 1.595 MB / 0.5865 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.4156, allocations: 3.953 kB / 0.5865 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.4157, allocations: 60 kB / 0.5865 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.4158, allocations: 35.98 kB / 0.5866 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/0.4186, allocations: 1.505 MB / 0.588 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00861/0.4272, allocations: 4.282 MB / 0.5922 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.4293, allocations: 1.068 MB / 0.5933 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009891/0.4303, allocations: 0.5538 MB / 0.5938 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.4304, allocations: 36.97 kB / 0.5938 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.4305, allocations: 43.56 kB / 0.5939 GB, free: 2.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.586e-06/0.4305, allocations: 0 / 0.5939 GB, free: 2.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009447/0.4399, allocations: 2.994 MB / 0.5968 GB, free: 15.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.44, allocations: 90.11 kB / 0.5969 GB, free: 15.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.4406, allocations: 417.7 kB / 0.5973 GB, free: 15.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/0.4407, allocations: 45.7 kB / 0.5973 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.4411, allocations: 488.7 kB / 0.5978 GB, free: 14.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.4415, allocations: 444.2 kB / 0.5982 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003853/0.4419, allocations: 222.8 kB / 0.5984 GB, free: 14.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.4421, allocations: 378.7 kB / 0.5988 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009167/0.443, allocations: 462.5 kB / 0.5992 GB, free: 13.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.4441, allocations: 0.6958 MB / 0.5999 GB, free: 12.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.4462, allocations: 1.213 MB / 0.6011 GB, free: 11.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.4462, allocations: 0 / 0.6011 GB, free: 11.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003153/0.4494, allocations: 1.574 MB / 0.6026 GB, free: 9.703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.4494, allocations: 8 kB / 0.6027 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.4494, allocations: 4 kB / 0.6027 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.451, allocations: 0.532 MB / 0.6032 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/0.4518, allocations: 195.7 kB / 0.6034 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002007/0.452, allocations: 53.19 kB / 0.6034 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.4527, allocations: 115.2 kB / 0.6035 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-05/0.4528, allocations: 55.94 kB / 0.6036 GB, free: 8.742 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.0004914/0.4533, allocations: 265.6 kB / 0.6038 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.4535, allocations: 87.47 kB / 0.6039 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.4565, allocations: 1.536 MB / 0.6054 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.4566, allocations: 16 kB / 0.6054 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.4566, allocations: 11.88 kB / 0.6054 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.4566, allocations: 7.969 kB / 0.6054 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004719/0.4613, allocations: 2.485 MB / 0.6079 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4613, allocations: 0 / 0.6079 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/0.462, allocations: 143.8 kB / 0.608 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/0.4635, allocations: 0.5145 MB / 0.6085 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/0.4636, allocations: 27.98 kB / 0.6085 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003208/0.4639, allocations: 72.73 kB / 0.6086 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4639, allocations: 0 / 0.6086 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/0.4683, allocations: 2.314 MB / 0.6109 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/0.4689, allocations: 203.1 kB / 0.6111 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.4691, allocations: 20 kB / 0.6111 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.4697, allocations: 39.98 kB / 0.6111 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.4699, allocations: 97.08 kB / 0.6112 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.41e-05/0.47, allocations: 36 kB / 0.6112 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003757/0.4704, allocations: 275.1 kB / 0.6115 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4704, allocations: 0 / 0.6115 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001117/0.4715, allocations: 347.2 kB / 0.6118 GB, free: 188 kB / 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.0003723/0.4719, allocations: 170 kB / 0.612 GB, free: 8 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003234/0.4751, allocations: 1.273 MB / 0.6132 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4751, allocations: 3.938 kB / 0.6133 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.477, allocations: 0.6842 MB / 0.6139 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.4778, allocations: 93.89 kB / 0.614 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/0.4821, allocations: 2.142 MB / 0.6161 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.4827, allocations: 458.3 kB / 0.6165 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.4831, allocations: 75.41 kB / 0.6166 GB, free: 11.22 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4831, allocations: 3.938 kB / 0.6166 GB, free: 11.21 MB / 462.1 MB Notification: Performance of Templates: time 0.02621/0.5093, allocations: 17.21 MB / 0.6334 GB, free: 9.98 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.775032493751496]