Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 75.88 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.375, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003666/0.3787, allocations: 1.737 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3808, allocations: 1.021 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.381, allocations: 1.375 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.3813, allocations: 41.39 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.3817, allocations: 89.73 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.382, allocations: 78.91 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3823, allocations: 102.3 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3824, allocations: 13.5 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3825, allocations: 44.28 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3826, allocations: 38.72 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3827, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3828, allocations: 39.48 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.3829, allocations: 21.41 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.3829, allocations: 28.06 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3832, allocations: 119.4 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3832, allocations: 0 / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3832, allocations: 0 / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3832, allocations: 1.375 kB / 0.535 GB, free: 11.06 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.0006509/0.3839, allocations: 412.3 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3839, allocations: 9.625 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.384, allocations: 12.97 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.3842, allocations: 207.2 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3843, allocations: 1.75 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3843, allocations: 6.875 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3845, allocations: 54.05 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.3845, allocations: 4 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.3845, allocations: 0 / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3846, allocations: 1.375 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.3846, allocations: 26.92 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.385, allocations: 289.4 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3852, allocations: 53.23 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.3853, allocations: 25.58 kB / 0.5361 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3853, allocations: 1 kB / 0.5361 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.3855, allocations: 77.25 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 7.264e-06/0.3855, allocations: 0 / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000594/0.3862, allocations: 173.4 kB / 0.5363 GB, free: 9.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.3862, allocations: 52.5 kB / 0.5364 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.3864, allocations: 176.8 kB / 0.5365 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.3864, allocations: 26.95 kB / 0.5366 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.3865, allocations: 96.14 kB / 0.5367 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.3865, allocations: 23.58 kB / 0.5367 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.3866, allocations: 21.41 kB / 0.5367 GB, free: 9.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3867, allocations: 329.1 kB / 0.537 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.3868, allocations: 18.55 kB / 0.537 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.3868, allocations: 39.45 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.387, allocations: 67.34 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.387, allocations: 0 / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.3872, allocations: 95.75 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3872, allocations: 5.469 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3872, allocations: 0 / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3872, allocations: 5.062 kB / 0.5372 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.3874, allocations: 25.05 kB / 0.5373 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.3874, allocations: 1.094 kB / 0.5373 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.3875, allocations: 6.25 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-06/0.3875, allocations: 3.5 kB / 0.5373 GB, free: 8.922 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 0.000102/0.3876, allocations: 124.6 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3877, allocations: 16.28 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.3877, allocations: 13.25 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3877, allocations: 1.156 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3877, allocations: 0 / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3877, allocations: 13.08 kB / 0.5374 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.3882, allocations: 384.2 kB / 0.5378 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3882, allocations: 1 kB / 0.5378 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.3882, allocations: 11.16 kB / 0.5378 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3882, allocations: 0.6875 kB / 0.5378 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3883, allocations: 9.969 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3883, allocations: 1.062 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3883, allocations: 1.312 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.3886, allocations: 199.8 kB / 0.538 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.3886, allocations: 92.08 kB / 0.5381 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.3887, allocations: 5.281 kB / 0.5381 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.3888, allocations: 2.156 kB / 0.5381 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.3888, allocations: 15.88 kB / 0.5381 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3889, allocations: 7.125 kB / 0.5381 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.389, allocations: 129.2 kB / 0.5382 GB, free: 7.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.724e-06/0.389, allocations: 0 / 0.5382 GB, free: 7.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.3893, allocations: 29.27 kB / 0.5383 GB, free: 7.973 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.001177/0.3905, allocations: 467.2 kB / 0.5387 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.3907, allocations: 53.89 kB / 0.5388 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3907, allocations: 0 / 0.5388 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.3908, allocations: 34.28 kB / 0.5388 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.3912, allocations: 38.34 kB / 0.5388 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/0.3919, allocations: 228.1 kB / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3923, allocations: 0.7075 MB / 0.5397 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.3924, allocations: 16.34 kB / 0.5398 GB, free: 6.754 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3924, allocations: 0 / 0.5398 GB, free: 6.754 MB / 398.1 MB Notification: Performance of Templates: time 0.005921/0.3983, allocations: 1.908 MB / 0.5416 GB, free: 5.77 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches