Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 113.8 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 210.7 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 79.88 kB / 482 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4275, allocations: 62.44 MB / 0.5317 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002998/0.4305, allocations: 1.826 MB / 0.5335 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.4322, allocations: 1.096 MB / 0.5346 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.4323, allocations: 5.375 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.4329, allocations: 312.6 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.4333, allocations: 247.2 kB / 0.5351 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.4336, allocations: 108.5 kB / 0.5352 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.4339, allocations: 267.7 kB / 0.5355 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.062e-05/0.434, allocations: 13.7 kB / 0.5355 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.4341, allocations: 125.1 kB / 0.5356 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.4344, allocations: 200.8 kB / 0.5358 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.4344, allocations: 10.78 kB / 0.5358 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.4345, allocations: 50.75 kB / 0.5359 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.4347, allocations: 142.7 kB / 0.536 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.4348, allocations: 150.5 kB / 0.5361 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.4352, allocations: 375.3 kB / 0.5365 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4353, allocations: 0 / 0.5365 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4353, allocations: 1.188 kB / 0.5365 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.4353, allocations: 0 / 0.5365 GB, free: 10.38 MB / 398.1 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.0009698/0.4363, allocations: 0.7393 MB / 0.5372 GB, free: 9.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4363, allocations: 12.88 kB / 0.5372 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.96e-05/0.4364, allocations: 50.59 kB / 0.5373 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.4371, allocations: 460.5 kB / 0.5377 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.4371, allocations: 2.188 kB / 0.5377 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.4371, allocations: 10.69 kB / 0.5377 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.4373, allocations: 76.31 kB / 0.5378 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4374, allocations: 3.984 kB / 0.5378 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4374, allocations: 9.156 kB / 0.5378 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4374, allocations: 5.031 kB / 0.5378 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.4375, allocations: 27.83 kB / 0.5378 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.4379, allocations: 383 kB / 0.5382 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.4382, allocations: 101.8 kB / 0.5383 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.4383, allocations: 46.11 kB / 0.5384 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.4384, allocations: 3.984 kB / 0.5384 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.4386, allocations: 108.8 kB / 0.5385 GB, free: 8.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.4386, allocations: 4 kB / 0.5385 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000508/0.4391, allocations: 200.6 kB / 0.5387 GB, free: 8.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.4392, allocations: 82.73 kB / 0.5387 GB, free: 8.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.4405, allocations: 1.049 MB / 0.5398 GB, free: 7.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.4405, allocations: 34.78 kB / 0.5398 GB, free: 7.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.4407, allocations: 231.2 kB / 0.54 GB, free: 7.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.4408, allocations: 36.33 kB / 0.54 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.4409, allocations: 33.86 kB / 0.5401 GB, free: 7.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.441, allocations: 370.6 kB / 0.5404 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.4411, allocations: 26.92 kB / 0.5405 GB, free: 7.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.4412, allocations: 59.12 kB / 0.5405 GB, free: 7.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.4414, allocations: 90.73 kB / 0.5406 GB, free: 7.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4415, allocations: 0 / 0.5406 GB, free: 7.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003129/0.4418, allocations: 170.9 kB / 0.5408 GB, free: 7.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4418, allocations: 9.547 kB / 0.5408 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4418, allocations: 1.312 kB / 0.5408 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4418, allocations: 0.9375 kB / 0.5408 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.442, allocations: 22.25 kB / 0.5408 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.442, allocations: 9.234 kB / 0.5408 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.493e-05/0.4421, allocations: 4.562 kB / 0.5408 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.4421, allocations: 8.5 kB / 0.5408 GB, free: 7.09 MB / 398.1 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.0002692/0.4424, allocations: 222.5 kB / 0.541 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.4425, allocations: 54.27 kB / 0.5411 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.4426, allocations: 62.7 kB / 0.5411 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4426, allocations: 2.25 kB / 0.5411 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4426, allocations: 1.062 kB / 0.5411 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4426, allocations: 0 / 0.5411 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.443, allocations: 355.1 kB / 0.5415 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.443, allocations: 0 / 0.5415 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.4431, allocations: 18.73 kB / 0.5415 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4431, allocations: 1.156 kB / 0.5415 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.4431, allocations: 2.25 kB / 0.5415 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4431, allocations: 3.984 kB / 0.5415 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4431, allocations: 1.219 kB / 0.5415 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.4435, allocations: 212.8 kB / 0.5417 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.4436, allocations: 139.3 kB / 0.5418 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.4437, allocations: 5.125 kB / 0.5418 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.4438, allocations: 7.438 kB / 0.5419 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.4438, allocations: 12.52 kB / 0.5419 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.4439, allocations: 4.469 kB / 0.5419 GB, free: 6.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009647/0.4448, allocations: 0.7847 MB / 0.5426 GB, free: 5.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4449, allocations: 0 / 0.5426 GB, free: 5.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.4452, allocations: 48.83 kB / 0.5427 GB, free: 5.867 MB / 398.1 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.001042/0.4462, allocations: 395 kB / 0.5431 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.4465, allocations: 87.78 kB / 0.5431 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4465, allocations: 0 / 0.5431 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4467, allocations: 43.59 kB / 0.5432 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.4471, allocations: 73.33 kB / 0.5433 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.4484, allocations: 0.9184 MB / 0.5442 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.449, allocations: 0.8504 MB / 0.545 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.449, allocations: 35.36 kB / 0.545 GB, free: 3.902 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.449, allocations: 0 / 0.545 GB, free: 3.902 MB / 398.1 MB Notification: Performance of Templates: time 0.008692/0.4577, allocations: 5.194 MB / 0.5501 GB, free: 14.71 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches