Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.698/1.698, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 88.08 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3737, allocations: 62.43 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00296/0.3767, allocations: 1.747 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3784, allocations: 1.019 MB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.3785, allocations: 5.219 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.3788, allocations: 114.8 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.3792, allocations: 124.7 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.3794, allocations: 80.34 kB / 0.5341 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.3796, allocations: 127.3 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3797, allocations: 23.89 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.349e-05/0.3798, allocations: 57.89 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3799, allocations: 72.73 kB / 0.5344 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3799, allocations: 5.5 kB / 0.5344 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3801, allocations: 54.48 kB / 0.5344 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.3801, allocations: 36.17 kB / 0.5345 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.3802, allocations: 49.28 kB / 0.5345 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3804, allocations: 155.7 kB / 0.5347 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3804, allocations: 3.938 kB / 0.5347 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3804, allocations: 4 kB / 0.5347 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3805, allocations: 1.375 kB / 0.5347 GB, free: 10.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005763/0.381, allocations: 452.4 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3811, allocations: 9.625 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.3811, allocations: 15.88 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3814, allocations: 232.6 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3815, allocations: 2.5 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.3815, allocations: 11.55 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.3817, allocations: 74.94 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3817, allocations: 0 / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3817, allocations: 0.9688 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3817, allocations: 1.094 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/0.3818, allocations: 30.11 kB / 0.5355 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.3822, allocations: 318.9 kB / 0.5358 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.3825, allocations: 79.94 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.457e-05/0.3826, allocations: 25.36 kB / 0.5359 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3826, allocations: 1.344 kB / 0.5359 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.3828, allocations: 77.19 kB / 0.5359 GB, free: 9.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 3.166e-06/0.3828, allocations: 96 / 0.5359 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007924/0.3836, allocations: 283.3 kB / 0.5362 GB, free: 9.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3837, allocations: 61.59 kB / 0.5363 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.3839, allocations: 254.4 kB / 0.5365 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.384, allocations: 28.02 kB / 0.5365 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.384, allocations: 110.6 kB / 0.5366 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.3841, allocations: 42.17 kB / 0.5367 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.3841, allocations: 34.61 kB / 0.5367 GB, free: 9.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3842, allocations: 328 kB / 0.537 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.3843, allocations: 33.36 kB / 0.5371 GB, free: 8.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.788e-05/0.3844, allocations: 50.48 kB / 0.5371 GB, free: 8.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3846, allocations: 93.69 kB / 0.5372 GB, free: 8.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3846, allocations: 0 / 0.5372 GB, free: 8.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002359/0.3848, allocations: 134.8 kB / 0.5373 GB, free: 8.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3849, allocations: 13.44 kB / 0.5373 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3849, allocations: 3.984 kB / 0.5373 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3849, allocations: 5.438 kB / 0.5373 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.385, allocations: 26.88 kB / 0.5374 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.385, allocations: 5.75 kB / 0.5374 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.3851, allocations: 5.828 kB / 0.5374 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3851, allocations: 3.812 kB / 0.5374 GB, free: 8.547 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 (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.0001161/0.3852, allocations: 137.3 kB / 0.5375 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.3852, allocations: 15.16 kB / 0.5375 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.3853, allocations: 21.58 kB / 0.5376 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3853, allocations: 6.625 kB / 0.5376 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.3853, allocations: 3.938 kB / 0.5376 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3854, allocations: 0 / 0.5376 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.386, allocations: 483.7 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.386, allocations: 0 / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.386, allocations: 17.12 kB / 0.538 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3861, allocations: 2.656 kB / 0.538 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3861, allocations: 5.328 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3861, allocations: 5.375 kB / 0.5381 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3861, allocations: 1.438 kB / 0.5381 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.3864, allocations: 246.4 kB / 0.5383 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.3864, allocations: 89.33 kB / 0.5384 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.3865, allocations: 6.344 kB / 0.5384 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.3866, allocations: 6.375 kB / 0.5384 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.3866, allocations: 17.52 kB / 0.5384 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3866, allocations: 4.219 kB / 0.5384 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.3868, allocations: 196.2 kB / 0.5386 GB, free: 7.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3868, allocations: 0.9688 kB / 0.5386 GB, free: 7.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.3871, allocations: 33.47 kB / 0.5386 GB, free: 7.48 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 (12): * Single equations (assignments): 10 * 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.001176/0.3883, allocations: 0.4967 MB / 0.5391 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.3886, allocations: 99.41 kB / 0.5392 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3886, allocations: 0 / 0.5392 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3887, allocations: 46.8 kB / 0.5393 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3891, allocations: 47.84 kB / 0.5393 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.3897, allocations: 312.7 kB / 0.5396 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.39, allocations: 0.7243 MB / 0.5403 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.239e-05/0.3901, allocations: 26.73 kB / 0.5403 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.3901, allocations: 19.81 kB / 0.5403 GB, free: 6.176 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3901, allocations: 0 / 0.5403 GB, free: 6.176 MB / 398.1 MB Notification: Performance of Templates: time 0.00621/0.3964, allocations: 2.153 MB / 0.5424 GB, free: 5.078 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches