Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001396, allocations: 109 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.001454/0.001455, allocations: 210.8 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.413/1.413, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 75.88 kB / 482.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3523, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002736/0.3551, allocations: 1.697 MB / 0.5334 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.3566, allocations: 1.003 MB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.3567, allocations: 0 / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.3569, allocations: 47.02 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.3572, allocations: 97.84 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.3574, allocations: 78.91 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3576, allocations: 98.19 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.3576, allocations: 5.734 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.3577, allocations: 38.92 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.3578, allocations: 33.47 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3578, allocations: 4.125 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.411e-05/0.3579, allocations: 36.61 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.3579, allocations: 30.8 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.358, allocations: 43.91 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3582, allocations: 127.4 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3582, allocations: 1.344 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3582, allocations: 0 / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3582, allocations: 0 / 0.535 GB, free: 11.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004952/0.3587, allocations: 432 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.3588, allocations: 9.781 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.3588, allocations: 10.94 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.359, allocations: 223.5 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3591, allocations: 5.875 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3591, allocations: 13.36 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3592, allocations: 43.31 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.3592, allocations: 0 / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3593, allocations: 1 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3593, allocations: 4 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.3593, allocations: 20.39 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.3595, allocations: 196.7 kB / 0.5359 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3597, allocations: 50.34 kB / 0.5359 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.3598, allocations: 25.62 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3598, allocations: 0.7812 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.3599, allocations: 68.17 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.3599, allocations: 0 / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002637/0.3602, allocations: 97.58 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3603, allocations: 59.33 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.3605, allocations: 271.5 kB / 0.5364 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3605, allocations: 26.77 kB / 0.5365 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.3606, allocations: 115 kB / 0.5366 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.3606, allocations: 19.38 kB / 0.5366 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.3607, allocations: 18.38 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3608, allocations: 327.8 kB / 0.5369 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.722e-05/0.3608, allocations: 10.84 kB / 0.5369 GB, free: 9.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.3609, allocations: 31.98 kB / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.361, allocations: 51.2 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.361, allocations: 1.219 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001516/0.3612, allocations: 88.75 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3612, allocations: 5.188 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3612, allocations: 0 / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.3612, allocations: 1.156 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.3613, allocations: 13.05 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3613, allocations: 5.406 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.3614, allocations: 6.188 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3614, allocations: 6.875 kB / 0.5371 GB, free: 9.047 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 (7): * Single equations (assignments): 7 * 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.0001036/0.3615, allocations: 136.2 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.3615, allocations: 10.66 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3616, allocations: 19.36 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3616, allocations: 1.219 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3616, allocations: 1.219 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3616, allocations: 0 / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.3617, allocations: 203 kB / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3617, allocations: 0 / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.3618, allocations: 3.938 kB / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3618, allocations: 7.938 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3618, allocations: 1.375 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3618, allocations: 1.375 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3618, allocations: 3.984 kB / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.362, allocations: 115.2 kB / 0.5376 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.362, allocations: 95.61 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.3621, allocations: 1.344 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.3621, allocations: 5.469 kB / 0.5377 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.3621, allocations: 2.75 kB / 0.5377 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3622, allocations: 10.45 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.3623, allocations: 202.1 kB / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3623, allocations: 0 / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.3625, allocations: 18.62 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008519/0.3634, allocations: 410.1 kB / 0.5383 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.3636, allocations: 48.5 kB / 0.5384 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3636, allocations: 0 / 0.5384 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.3636, allocations: 15.22 kB / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3639, allocations: 38.36 kB / 0.5384 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.3644, allocations: 298 kB / 0.5387 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.3647, allocations: 0.7153 MB / 0.5394 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.3647, allocations: 17.75 kB / 0.5394 GB, free: 7.102 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3647, allocations: 0 / 0.5394 GB, free: 7.102 MB / 398.1 MB Notification: Performance of Templates: time 0.003495/0.3682, allocations: 1.897 MB / 0.5413 GB, free: 6.113 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches