Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 97.55 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4364/0.4364, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4629, allocations: 62.01 MB / 0.5152 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003889/0.4669, allocations: 1.899 MB / 0.517 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.4689, allocations: 1.113 MB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.4691, allocations: 3.938 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.4697, allocations: 298.9 kB / 0.5184 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005151/0.4703, allocations: 237.9 kB / 0.5186 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.4708, allocations: 156.8 kB / 0.5188 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004603/0.4713, allocations: 249.2 kB / 0.519 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.4714, allocations: 14.17 kB / 0.519 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.4716, allocations: 120.7 kB / 0.5191 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.4718, allocations: 195.3 kB / 0.5193 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.4719, allocations: 5.75 kB / 0.5193 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.472, allocations: 46.22 kB / 0.5194 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.4722, allocations: 135.7 kB / 0.5195 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.4723, allocations: 144.4 kB / 0.5196 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.4727, allocations: 372.7 kB / 0.52 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4727, allocations: 4 kB / 0.52 GB, free: 35.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4727, allocations: 0 / 0.52 GB, free: 35.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.4728, allocations: 0 / 0.52 GB, free: 35.15 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.001096/0.4739, allocations: 0.7364 MB / 0.5207 GB, free: 34.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4739, allocations: 10.59 kB / 0.5207 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.474, allocations: 50.09 kB / 0.5208 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.4746, allocations: 455.8 kB / 0.5212 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.4746, allocations: 3.312 kB / 0.5212 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.4747, allocations: 10.94 kB / 0.5212 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.4749, allocations: 84.62 kB / 0.5213 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4749, allocations: 0 / 0.5213 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4749, allocations: 3.328 kB / 0.5213 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4749, allocations: 2.812 kB / 0.5213 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.475, allocations: 35.11 kB / 0.5213 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.4755, allocations: 374.7 kB / 0.5217 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.4757, allocations: 109.4 kB / 0.5218 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4758, allocations: 44.64 kB / 0.5218 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.4759, allocations: 4 kB / 0.5218 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.4762, allocations: 113 kB / 0.522 GB, free: 33.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.254e-06/0.4762, allocations: 3.984 kB / 0.522 GB, free: 33.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004964/0.4767, allocations: 194.1 kB / 0.5221 GB, free: 33.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.4767, allocations: 81.05 kB / 0.5222 GB, free: 33.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.4778, allocations: 1.055 MB / 0.5232 GB, free: 33.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.4778, allocations: 28.3 kB / 0.5233 GB, free: 33.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.4779, allocations: 240.4 kB / 0.5235 GB, free: 32.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.478, allocations: 26 kB / 0.5235 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.478, allocations: 26.47 kB / 0.5236 GB, free: 32.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4782, allocations: 372.1 kB / 0.5239 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.4782, allocations: 28.98 kB / 0.5239 GB, free: 32.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.4783, allocations: 55.25 kB / 0.524 GB, free: 32.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.4785, allocations: 93.69 kB / 0.5241 GB, free: 32.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4785, allocations: 3.938 kB / 0.5241 GB, free: 32.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003113/0.4788, allocations: 172.7 kB / 0.5242 GB, free: 32.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4789, allocations: 4.812 kB / 0.5243 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4789, allocations: 2.625 kB / 0.5243 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4789, allocations: 0 / 0.5243 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.479, allocations: 29.38 kB / 0.5243 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.479, allocations: 2.469 kB / 0.5243 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.4792, allocations: 12.69 kB / 0.5243 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.4792, allocations: 2.375 kB / 0.5243 GB, free: 32.29 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.0002099/0.4794, allocations: 235.3 kB / 0.5245 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.4795, allocations: 50.47 kB / 0.5246 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.991e-05/0.4796, allocations: 62.44 kB / 0.5246 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.4796, allocations: 3.094 kB / 0.5246 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4796, allocations: 0 / 0.5246 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4796, allocations: 3.328 kB / 0.5246 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.4799, allocations: 350.9 kB / 0.525 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4799, allocations: 0 / 0.525 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.48, allocations: 7.75 kB / 0.525 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.48, allocations: 0 / 0.525 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.48, allocations: 5.828 kB / 0.525 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.48, allocations: 4.125 kB / 0.525 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.48, allocations: 4 kB / 0.525 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.4807, allocations: 0.8897 MB / 0.5259 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.4808, allocations: 133.3 kB / 0.526 GB, free: 30.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.4809, allocations: 10.19 kB / 0.526 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.481, allocations: 2.844 kB / 0.526 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.481, allocations: 14.25 kB / 0.526 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.481, allocations: 8.797 kB / 0.526 GB, free: 30.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007483/0.4818, allocations: 0.7802 MB / 0.5268 GB, free: 30.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4818, allocations: 0 / 0.5268 GB, free: 30.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003861/0.4822, allocations: 44.81 kB / 0.5268 GB, free: 30.65 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.000986/0.4832, allocations: 417.2 kB / 0.5272 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.4835, allocations: 85.06 kB / 0.5273 GB, free: 30.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4835, allocations: 0 / 0.5273 GB, free: 30.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.4836, allocations: 43.61 kB / 0.5273 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.4841, allocations: 70.92 kB / 0.5274 GB, free: 30.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.4855, allocations: 1.104 MB / 0.5285 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.4858, allocations: 0.8545 MB / 0.5293 GB, free: 29.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.486, allocations: 58.12 kB / 0.5294 GB, free: 29.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.4861, allocations: 32.53 kB / 0.5294 GB, free: 29.02 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4861, allocations: 0 / 0.5294 GB, free: 29.02 MB / 378.7 MB Notification: Performance of Templates: time 0.008489/0.4946, allocations: 3.721 MB / 0.533 GB, free: 28.66 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches