Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 113 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.001259/0.001259, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.1 MB / 344.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 79.88 kB / 482.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3737, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002879/0.3766, allocations: 1.697 MB / 0.5334 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3783, allocations: 0.9989 MB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.3784, allocations: 5.281 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.3787, allocations: 46.39 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.379, allocations: 98.83 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.3792, allocations: 76.95 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.3794, allocations: 103 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.3795, allocations: 4.922 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.3796, allocations: 44.22 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.807e-05/0.3797, allocations: 25.45 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.3797, allocations: 3.219 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.3798, allocations: 37.33 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.3799, allocations: 34.34 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.3799, allocations: 43.64 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3801, allocations: 124.8 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3801, allocations: 4 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3802, allocations: 0 / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3802, 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.0005605/0.3807, allocations: 428.3 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3808, allocations: 9.625 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.3808, allocations: 11.72 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3811, allocations: 226.7 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3811, allocations: 5.734 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.3812, allocations: 9.5 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.3813, allocations: 43.31 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3813, allocations: 1.375 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3813, allocations: 0 / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3813, allocations: 3.984 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.961e-05/0.3814, allocations: 16.19 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.3816, allocations: 196.9 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3818, allocations: 63.09 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.3819, allocations: 21.05 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3819, allocations: 0 / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.3821, allocations: 65.14 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3821, allocations: 0 / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000291/0.3824, allocations: 105.3 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3824, allocations: 55.41 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3827, allocations: 271.3 kB / 0.5364 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.3827, allocations: 26.77 kB / 0.5365 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.3828, allocations: 111.7 kB / 0.5366 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.3828, allocations: 14.12 kB / 0.5366 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.3829, allocations: 22.95 kB / 0.5366 GB, free: 9.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.383, allocations: 327.1 kB / 0.5369 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.197e-05/0.3831, allocations: 12.5 kB / 0.5369 GB, free: 9.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.3831, allocations: 31.64 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3832, allocations: 50.86 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3833, allocations: 1.094 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001581/0.3834, allocations: 84.81 kB / 0.5371 GB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3834, allocations: 5.219 kB / 0.5371 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3835, allocations: 0 / 0.5371 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3835, allocations: 5.094 kB / 0.5371 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.3836, allocations: 17.45 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3836, allocations: 1.469 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.3836, allocations: 5.25 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3836, allocations: 10.41 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.0001121/0.3837, allocations: 135.3 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.3838, allocations: 10.22 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.3838, allocations: 20.61 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.3838, allocations: 1.406 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3838, allocations: 4 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3839, allocations: 0 / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.384, allocations: 207.8 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.384, allocations: 0 / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.3841, allocations: 3.625 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3841, allocations: 3.938 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3841, allocations: 1.312 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3841, allocations: 3.984 kB / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3841, allocations: 1.344 kB / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.3843, allocations: 118.5 kB / 0.5376 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.3843, allocations: 92.25 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3844, allocations: 1.281 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.696e-05/0.3844, allocations: 2.312 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.3845, allocations: 10.28 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.3845, allocations: 6.234 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3847, allocations: 197.7 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3847, allocations: 1.156 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.3849, allocations: 25.66 kB / 0.538 GB, free: 8.312 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.00096/0.3859, allocations: 391.4 kB / 0.5383 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.3861, allocations: 44 kB / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3861, allocations: 4 kB / 0.5384 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.3862, allocations: 15.44 kB / 0.5384 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3864, allocations: 40.2 kB / 0.5384 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/0.387, allocations: 302.5 kB / 0.5387 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3873, allocations: 0.7146 MB / 0.5394 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.3873, allocations: 20.94 kB / 0.5394 GB, free: 7.105 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3873, allocations: 1.219 kB / 0.5394 GB, free: 7.105 MB / 398.1 MB Notification: Performance of Templates: time 0.003615/0.3909, allocations: 1.893 MB / 0.5413 GB, free: 6.117 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches