Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 83.86 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3709, allocations: 62.43 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003173/0.3741, allocations: 1.744 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.3759, allocations: 1.032 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.376, allocations: 5.312 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.3763, allocations: 110.4 kB / 0.5339 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.3767, allocations: 130.2 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.3769, allocations: 78.92 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.3771, allocations: 124.6 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3773, allocations: 12 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3774, allocations: 64.59 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3775, allocations: 55.92 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3775, allocations: 3.688 kB / 0.5344 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3776, allocations: 63.75 kB / 0.5344 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.3777, allocations: 36.81 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.3778, allocations: 37.25 kB / 0.5345 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.3781, allocations: 148.9 kB / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3781, allocations: 0 / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3781, allocations: 0 / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.3781, allocations: 1.125 kB / 0.5346 GB, free: 10.95 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.0005832/0.3787, allocations: 446 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3787, allocations: 8.812 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.3788, allocations: 15.69 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.379, allocations: 226.4 kB / 0.5353 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3791, allocations: 2.625 kB / 0.5353 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.3791, allocations: 6.281 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3793, allocations: 64.42 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3793, allocations: 1.062 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3793, allocations: 4 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3793, allocations: 5.156 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.781e-05/0.3794, allocations: 20.55 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.3798, allocations: 314.9 kB / 0.5357 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.38, allocations: 61.48 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.3801, allocations: 21.91 kB / 0.5358 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3801, allocations: 9.094 kB / 0.5358 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.3803, allocations: 70.48 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.3803, allocations: 1.312 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007532/0.3811, allocations: 248.2 kB / 0.5361 GB, free: 9.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3811, allocations: 59.28 kB / 0.5361 GB, free: 9.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.3814, allocations: 259.9 kB / 0.5364 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3814, allocations: 27.27 kB / 0.5364 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.3815, allocations: 110.7 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.3815, allocations: 33.12 kB / 0.5366 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.3816, allocations: 29.42 kB / 0.5366 GB, free: 9.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3817, allocations: 328.1 kB / 0.5369 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.3818, allocations: 27.36 kB / 0.5369 GB, free: 8.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.3819, allocations: 43.77 kB / 0.537 GB, free: 8.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.382, allocations: 88.81 kB / 0.537 GB, free: 8.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3821, allocations: 0 / 0.537 GB, free: 8.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002313/0.3823, allocations: 130.5 kB / 0.5372 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3823, allocations: 7.25 kB / 0.5372 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3823, allocations: 1.25 kB / 0.5372 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3824, allocations: 5.469 kB / 0.5372 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.3824, allocations: 20.42 kB / 0.5372 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3825, allocations: 9.25 kB / 0.5372 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.3825, allocations: 6.844 kB / 0.5372 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3825, allocations: 7.531 kB / 0.5372 GB, free: 8.621 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 (13): * Single equations (assignments): 13 * 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.0001353/0.3827, allocations: 132.5 kB / 0.5374 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.3827, allocations: 14.72 kB / 0.5374 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.3828, allocations: 21.08 kB / 0.5374 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3828, allocations: 1.812 kB / 0.5374 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3828, allocations: 3.938 kB / 0.5374 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3828, allocations: 3.938 kB / 0.5374 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.3834, allocations: 456.8 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3834, allocations: 1.062 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-05/0.3835, allocations: 23.73 kB / 0.5379 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3835, allocations: 1.031 kB / 0.5379 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3835, allocations: 2.156 kB / 0.5379 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3835, allocations: 2.219 kB / 0.5379 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3835, allocations: 1.469 kB / 0.5379 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.3838, allocations: 242.2 kB / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.3839, allocations: 92.89 kB / 0.5382 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.3839, allocations: 6.062 kB / 0.5382 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.384, allocations: 2.938 kB / 0.5382 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.384, allocations: 7.891 kB / 0.5382 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.3841, allocations: 12.5 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.3843, allocations: 185.9 kB / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3843, allocations: 0 / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.3846, allocations: 33.48 kB / 0.5384 GB, free: 7.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001371/0.386, allocations: 0.4934 MB / 0.5389 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.3862, allocations: 82.16 kB / 0.539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3862, allocations: 4.062 kB / 0.539 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.3863, allocations: 40.42 kB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.3867, allocations: 54.8 kB / 0.5391 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006349/0.3873, allocations: 301.3 kB / 0.5394 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3877, allocations: 0.7217 MB / 0.5401 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.201e-05/0.3877, allocations: 19.66 kB / 0.5401 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.3878, allocations: 18.22 kB / 0.5401 GB, free: 6.289 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3878, allocations: 0 / 0.5401 GB, free: 6.289 MB / 398.1 MB Notification: Performance of Templates: time 0.005504/0.3933, allocations: 2.019 MB / 0.5421 GB, free: 5.266 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches