Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 111.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 72.11 kB / 482.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3533, allocations: 62.44 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002806/0.3562, allocations: 1.726 MB / 0.5334 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.3577, allocations: 1.028 MB / 0.5344 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.3578, allocations: 1.312 kB / 0.5344 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3581, allocations: 37.94 kB / 0.5345 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.3584, allocations: 95.28 kB / 0.5346 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.3586, allocations: 79.12 kB / 0.5346 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.3588, allocations: 109.5 kB / 0.5347 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3589, allocations: 11.05 kB / 0.5347 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.359, allocations: 43.72 kB / 0.5348 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.3591, allocations: 34.22 kB / 0.5348 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3591, allocations: 4.562 kB / 0.5348 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3592, allocations: 43.66 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.3593, allocations: 14.53 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.3594, allocations: 39.67 kB / 0.5349 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.3596, allocations: 124.1 kB / 0.535 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3596, allocations: 0 / 0.535 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3596, allocations: 1.219 kB / 0.535 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3596, allocations: 0 / 0.535 GB, free: 11.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005477/0.3601, allocations: 416.8 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3602, allocations: 9.5 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.3602, allocations: 10.06 kB / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.3605, allocations: 216.4 kB / 0.5357 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3605, allocations: 6.406 kB / 0.5357 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3605, allocations: 6.781 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.3607, allocations: 57.36 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3607, allocations: 5.344 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3607, allocations: 0 / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3607, allocations: 1.031 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.3608, allocations: 18.52 kB / 0.5358 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.3612, allocations: 290.8 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3613, allocations: 61.88 kB / 0.5361 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.3614, allocations: 21.09 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3614, allocations: 1.375 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.3616, allocations: 65.14 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3616, allocations: 7.938 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005373/0.3621, allocations: 173.8 kB / 0.5363 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3622, allocations: 56.56 kB / 0.5364 GB, free: 9.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3623, allocations: 193.5 kB / 0.5366 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3624, allocations: 31.02 kB / 0.5366 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.3624, allocations: 100.3 kB / 0.5367 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.3625, allocations: 23.41 kB / 0.5367 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.3625, allocations: 25.52 kB / 0.5368 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3626, allocations: 329.5 kB / 0.5371 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.3627, allocations: 19.03 kB / 0.5371 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.3628, allocations: 39.61 kB / 0.5371 GB, free: 9.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3629, allocations: 62.52 kB / 0.5372 GB, free: 9.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3629, allocations: 1.094 kB / 0.5372 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.3631, allocations: 103.1 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3631, allocations: 9.25 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3631, allocations: 1.469 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3631, allocations: 5.125 kB / 0.5373 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.3632, allocations: 12.72 kB / 0.5373 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3632, allocations: 5.062 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.3633, allocations: 14.2 kB / 0.5373 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3633, allocations: 2.281 kB / 0.5373 GB, free: 9.102 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.1e-05/0.3634, allocations: 124 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.3634, allocations: 12.94 kB / 0.5375 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.3635, allocations: 22.3 kB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3635, allocations: 5.109 kB / 0.5375 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3635, allocations: 1 kB / 0.5375 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3635, allocations: 3.938 kB / 0.5375 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.364, allocations: 393.9 kB / 0.5379 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.364, allocations: 5.078 kB / 0.5379 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.364, allocations: 7.125 kB / 0.5379 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.364, allocations: 5.125 kB / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.364, allocations: 5.625 kB / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3641, allocations: 1.031 kB / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3641, allocations: 0.7812 kB / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.3643, allocations: 201.2 kB / 0.5381 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.3643, allocations: 92.31 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3644, allocations: 9.25 kB / 0.5382 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.3644, allocations: 6.125 kB / 0.5382 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.3645, allocations: 15.52 kB / 0.5382 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.3645, allocations: 3.281 kB / 0.5382 GB, free: 8.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.3646, allocations: 152.4 kB / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3646, allocations: 0 / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.3649, allocations: 24.97 kB / 0.5384 GB, free: 8.129 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001014/0.3659, allocations: 453 kB / 0.5388 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.3661, allocations: 61.78 kB / 0.5389 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3661, allocations: 1.031 kB / 0.5389 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.3662, allocations: 21.06 kB / 0.5389 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3665, allocations: 48.19 kB / 0.5389 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.367, allocations: 254.8 kB / 0.5392 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3673, allocations: 0.7059 MB / 0.5399 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.3673, allocations: 16.19 kB / 0.5399 GB, free: 6.914 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3673, allocations: 0 / 0.5399 GB, free: 6.914 MB / 398.1 MB Notification: Performance of Templates: time 0.003626/0.3709, allocations: 1.955 MB / 0.5418 GB, free: 5.906 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches