Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 93.77 kB / 296.7 MB, free: 6.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.436/0.436, allocations: 44.82 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 63.91 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4374, allocations: 62.01 MB / 0.5152 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003157/0.4406, allocations: 1.901 MB / 0.517 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.4423, allocations: 1.122 MB / 0.5181 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.4424, allocations: 0 / 0.5181 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005396/0.4429, allocations: 300 kB / 0.5184 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.4434, allocations: 232.6 kB / 0.5186 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.4438, allocations: 154.2 kB / 0.5188 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.4441, allocations: 256.1 kB / 0.519 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.601e-05/0.4441, allocations: 14.25 kB / 0.519 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.4443, allocations: 121 kB / 0.5191 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.4445, allocations: 195.7 kB / 0.5193 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.4445, allocations: 2.688 kB / 0.5193 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.4447, allocations: 45.78 kB / 0.5194 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.4448, allocations: 136.4 kB / 0.5195 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.4449, allocations: 152.8 kB / 0.5196 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.4453, allocations: 365.7 kB / 0.52 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4453, allocations: 0 / 0.52 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4453, allocations: 2.688 kB / 0.52 GB, free: 35.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.4453, allocations: 4 kB / 0.52 GB, free: 35.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009352/0.4463, allocations: 0.7376 MB / 0.5207 GB, free: 34.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.4463, allocations: 9.688 kB / 0.5207 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/0.4464, allocations: 50.56 kB / 0.5208 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.4469, allocations: 454.8 kB / 0.5212 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.447, allocations: 3.312 kB / 0.5212 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.447, allocations: 10.2 kB / 0.5212 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.4472, allocations: 88.45 kB / 0.5213 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.4472, allocations: 0 / 0.5213 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4472, allocations: 0 / 0.5213 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4473, allocations: 2.875 kB / 0.5213 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.4474, allocations: 28.94 kB / 0.5213 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.4478, allocations: 377.5 kB / 0.5217 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.448, allocations: 111.9 kB / 0.5218 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.4481, allocations: 39.34 kB / 0.5218 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.4481, allocations: 2.844 kB / 0.5218 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.4484, allocations: 116.9 kB / 0.522 GB, free: 33.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.4484, allocations: 0 / 0.522 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004483/0.4489, allocations: 200.3 kB / 0.5221 GB, free: 33.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.4489, allocations: 80.02 kB / 0.5222 GB, free: 33.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.4499, allocations: 1.049 MB / 0.5232 GB, free: 33.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.4499, allocations: 33.17 kB / 0.5233 GB, free: 33.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.45, allocations: 237.8 kB / 0.5235 GB, free: 32.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.4501, allocations: 28.44 kB / 0.5235 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.4501, allocations: 25.22 kB / 0.5236 GB, free: 32.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.4502, allocations: 372.2 kB / 0.5239 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.4503, allocations: 30.08 kB / 0.5239 GB, free: 32.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.4504, allocations: 56.88 kB / 0.524 GB, free: 32.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.4505, allocations: 93.22 kB / 0.5241 GB, free: 32.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4506, allocations: 0 / 0.5241 GB, free: 32.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000254/0.4508, allocations: 175.6 kB / 0.5243 GB, free: 32.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4508, allocations: 5.406 kB / 0.5243 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4509, allocations: 4.062 kB / 0.5243 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4509, allocations: 2.656 kB / 0.5243 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.451, allocations: 24.56 kB / 0.5243 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.451, allocations: 2.75 kB / 0.5243 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.4511, allocations: 6.781 kB / 0.5243 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4512, allocations: 5.688 kB / 0.5243 GB, free: 32.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.4513, allocations: 233.5 kB / 0.5245 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.4514, allocations: 52.72 kB / 0.5246 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.476e-05/0.4515, allocations: 63.92 kB / 0.5246 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4515, allocations: 2.875 kB / 0.5246 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4515, allocations: 0 / 0.5246 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4515, allocations: 0 / 0.5246 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.4518, allocations: 355.8 kB / 0.525 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4518, allocations: 0 / 0.525 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.4518, allocations: 11.41 kB / 0.525 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4518, allocations: 0 / 0.525 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4518, allocations: 2.688 kB / 0.525 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4518, allocations: 0 / 0.525 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4518, allocations: 0 / 0.525 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.4524, allocations: 0.8999 MB / 0.5259 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.4526, allocations: 135.2 kB / 0.526 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.4526, allocations: 0 / 0.526 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.4527, allocations: 6.078 kB / 0.526 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.4527, allocations: 20.72 kB / 0.526 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.4528, allocations: 5.562 kB / 0.526 GB, free: 30.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006527/0.4534, allocations: 0.7831 MB / 0.5268 GB, free: 30.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4534, allocations: 0 / 0.5268 GB, free: 30.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.4538, allocations: 43.97 kB / 0.5268 GB, free: 30.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009276/0.4547, allocations: 416 kB / 0.5272 GB, free: 30.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.455, allocations: 89.61 kB / 0.5273 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.455, allocations: 0 / 0.5273 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.4551, allocations: 33.98 kB / 0.5274 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.4555, allocations: 71.16 kB / 0.5274 GB, free: 30.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.4567, allocations: 1.113 MB / 0.5285 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.4569, allocations: 0.8455 MB / 0.5293 GB, free: 29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.457, allocations: 59.66 kB / 0.5294 GB, free: 28.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.4571, allocations: 30.03 kB / 0.5294 GB, free: 28.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4571, allocations: 0 / 0.5294 GB, free: 28.98 MB / 378.7 MB Notification: Performance of Templates: time 0.00721/0.4643, allocations: 3.716 MB / 0.533 GB, free: 28.62 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches