Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.001256/0.001256, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001394/0.001394, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2452/0.2452, allocations: 46.96 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] 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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3639, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009972/0.3739, allocations: 6.582 MB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005608/0.3795, allocations: 2.224 MB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009125/0.3804, allocations: 27.94 kB / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004318/0.3847, allocations: 1.617 MB / 0.572 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.3872, allocations: 0.6948 MB / 0.5727 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.389, allocations: 0.712 MB / 0.5734 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.3908, allocations: 1.245 MB / 0.5746 GB, free: 7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.3922, allocations: 0.8747 MB / 0.5755 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007929/0.393, allocations: 0.5215 MB / 0.576 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008532/0.3939, allocations: 0.673 MB / 0.5766 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.394, allocations: 104 kB / 0.5767 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007655/0.3948, allocations: 295.8 kB / 0.577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.3951, allocations: 271 kB / 0.5773 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.3956, allocations: 0.4977 MB / 0.5778 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.3978, allocations: 1.622 MB / 0.5793 GB, free: 2.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3978, allocations: 0 / 0.5793 GB, free: 2.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3978, allocations: 0 / 0.5793 GB, free: 2.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.3979, allocations: 3.938 kB / 0.5794 GB, free: 2.113 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004945/0.4028, allocations: 1.761 MB / 0.5811 GB, free: 324 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.4028, allocations: 11.97 kB / 0.5811 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009491/0.4123, allocations: 1.264 MB / 0.5823 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.4141, allocations: 0.5119 MB / 0.5828 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.631e-05/0.4142, allocations: 95.03 kB / 0.5829 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/0.4145, allocations: 140.1 kB / 0.583 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.4173, allocations: 1.425 MB / 0.5844 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.4173, allocations: 0 / 0.5844 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.4175, allocations: 56 kB / 0.5845 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.4175, allocations: 32 kB / 0.5845 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.42, allocations: 1.439 MB / 0.5859 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007862/0.4279, allocations: 3.61 MB / 0.5894 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.4297, allocations: 0.8139 MB / 0.5902 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/0.4303, allocations: 332.2 kB / 0.5906 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.4304, allocations: 44.91 kB / 0.5906 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.4304, allocations: 47.5 kB / 0.5906 GB, free: 6.297 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.026e-06/0.4304, allocations: 0 / 0.5906 GB, free: 6.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002291/0.4327, allocations: 1.021 MB / 0.5916 GB, free: 5.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.4328, allocations: 68.34 kB / 0.5917 GB, free: 5.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/0.4334, allocations: 0.5132 MB / 0.5922 GB, free: 4.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.4335, allocations: 41.7 kB / 0.5923 GB, free: 4.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/0.4339, allocations: 0.5505 MB / 0.5928 GB, free: 4.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.4342, allocations: 321.2 kB / 0.5931 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003697/0.4345, allocations: 198.8 kB / 0.5933 GB, free: 3.543 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.4347, allocations: 378.7 kB / 0.5936 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006487/0.4354, allocations: 346.5 kB / 0.594 GB, free: 2.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008954/0.4363, allocations: 0.6231 MB / 0.5946 GB, free: 2.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.4378, allocations: 0.9875 MB / 0.5955 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4378, allocations: 8 kB / 0.5956 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002173/0.44, allocations: 1.166 MB / 0.5967 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.44, allocations: 8 kB / 0.5967 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.44, allocations: 8.844 kB / 0.5967 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.4403, allocations: 73.61 kB / 0.5968 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.4414, allocations: 267.6 kB / 0.597 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.4438, allocations: 2.568 MB / 0.5995 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008437/0.4446, allocations: 115.1 kB / 0.5997 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/0.4447, allocations: 52 kB / 0.5997 GB, free: 12.51 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004769/0.4452, allocations: 261.5 kB / 0.6 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.4453, allocations: 67.78 kB / 0.6 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.4473, allocations: 1.081 MB / 0.6011 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4473, allocations: 12 kB / 0.6011 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4473, allocations: 3.938 kB / 0.6011 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.4474, allocations: 3.984 kB / 0.6011 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/0.4511, allocations: 2.107 MB / 0.6031 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.4511, allocations: 7.984 kB / 0.6032 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007802/0.4519, allocations: 180.5 kB / 0.6033 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.4522, allocations: 69.67 kB / 0.6034 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/0.4522, allocations: 27.94 kB / 0.6034 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.4545, allocations: 2.568 MB / 0.6059 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4545, allocations: 7.938 kB / 0.6059 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.4568, allocations: 1.458 MB / 0.6074 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.457, allocations: 83.42 kB / 0.6074 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.4571, allocations: 27.98 kB / 0.6075 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.4577, allocations: 43.98 kB / 0.6075 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.4579, allocations: 88.39 kB / 0.6076 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.4579, allocations: 36.06 kB / 0.6076 GB, free: 3.926 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004769/0.4584, allocations: 351.1 kB / 0.608 GB, free: 3.582 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4584, allocations: 0 / 0.608 GB, free: 3.582 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001108/0.4595, allocations: 347.1 kB / 0.6083 GB, free: 3.242 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003007/0.4598, allocations: 174.9 kB / 0.6085 GB, free: 3.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.4618, allocations: 1.051 MB / 0.6095 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4618, allocations: 4.25 kB / 0.6095 GB, free: 1.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009542/0.4628, allocations: 0.5921 MB / 0.6101 GB, free: 1.359 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.4634, allocations: 108.4 kB / 0.6102 GB, free: 1.258 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.4668, allocations: 1.874 MB / 0.612 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.4673, allocations: 427.5 kB / 0.6124 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.4676, allocations: 91.41 kB / 0.6125 GB, free: 14.74 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4676, allocations: 0 / 0.6125 GB, free: 14.74 MB / 462.1 MB Notification: Performance of Templates: time 0.02747/0.495, allocations: 21.13 MB / 0.6331 GB, free: 9.57 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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: 9.314488531003008]