Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002329/0.002329, allocations: 117.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002924/0.002923, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 75.88 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3697, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003067/0.3728, allocations: 1.734 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.3748, allocations: 1.026 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.483e-05/0.3749, allocations: 5.312 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.3753, allocations: 40.33 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.3756, allocations: 106.9 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3758, allocations: 78.41 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.3761, allocations: 101.4 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3762, allocations: 10.73 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.902e-05/0.3763, allocations: 44.5 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.3764, allocations: 37.53 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3764, allocations: 4.062 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3765, allocations: 47.23 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.3766, allocations: 27.22 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.3767, allocations: 40.53 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.3769, allocations: 141.8 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.377, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.377, allocations: 1.25 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.377, allocations: 0 / 0.5344 GB, free: 11.03 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.0006446/0.3776, allocations: 455.2 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3777, allocations: 9.969 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.3777, allocations: 19.44 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3781, allocations: 223.9 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3781, allocations: 5.469 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.3781, allocations: 6.344 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3783, allocations: 54.08 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3783, allocations: 1.094 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3783, allocations: 0 / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3783, allocations: 5.125 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.3784, allocations: 18.23 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3788, allocations: 307.5 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.379, allocations: 58.7 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.563e-05/0.3791, allocations: 16.92 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.3791, allocations: 5.047 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.3793, allocations: 72.86 kB / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3793, allocations: 0.5938 kB / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005892/0.3799, allocations: 180.5 kB / 0.5358 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.38, allocations: 56.72 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.3803, allocations: 272.3 kB / 0.5361 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3803, allocations: 31.14 kB / 0.5361 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.3804, allocations: 114.9 kB / 0.5363 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.3804, allocations: 27.52 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.3805, allocations: 24.36 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3806, allocations: 332.2 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.947e-05/0.3807, allocations: 20.02 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.3807, allocations: 30.59 kB / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.3809, allocations: 66.86 kB / 0.5367 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3809, allocations: 4 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.3811, allocations: 109.2 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3811, allocations: 5.906 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3811, allocations: 0 / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3812, allocations: 1.344 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.3813, allocations: 21.22 kB / 0.5369 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3813, allocations: 5.031 kB / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.3813, allocations: 10.2 kB / 0.5369 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.3813, allocations: 2.281 kB / 0.5369 GB, free: 8.758 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.0001225/0.3815, allocations: 138 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.3815, allocations: 14.44 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.3816, allocations: 21.86 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3816, allocations: 1.094 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3816, allocations: 0 / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3816, allocations: 4.969 kB / 0.5371 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.3821, allocations: 413 kB / 0.5374 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3821, allocations: 3.938 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.3821, allocations: 7.906 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3821, allocations: 1.25 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3821, allocations: 9.344 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3821, allocations: 1.094 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3822, allocations: 3.938 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.3824, allocations: 206.5 kB / 0.5377 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.3825, allocations: 88.64 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.3825, allocations: 10.59 kB / 0.5378 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.3826, allocations: 1.188 kB / 0.5378 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.3826, allocations: 7.578 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3827, allocations: 3.281 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000213/0.3829, allocations: 202.7 kB / 0.538 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3829, allocations: 1.125 kB / 0.538 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.3832, allocations: 29.48 kB / 0.538 GB, free: 7.766 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.001274/0.3845, allocations: 469.5 kB / 0.5384 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.3847, allocations: 58.41 kB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3847, allocations: 4.062 kB / 0.5385 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.3848, allocations: 25.34 kB / 0.5385 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3852, allocations: 32.8 kB / 0.5386 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.3857, allocations: 292 kB / 0.5388 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.386, allocations: 0.7132 MB / 0.5395 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.911e-05/0.3861, allocations: 23.08 kB / 0.5396 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.3862, allocations: 19.81 kB / 0.5396 GB, free: 6.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3862, allocations: 0 / 0.5396 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Templates: time 0.004708/0.3909, allocations: 1.773 MB / 0.5413 GB, free: 5.633 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches