Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001541/0.001549, allocations: 118.2 kB / 17.79 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.001871/0.001871, allocations: 202 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.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2474/0.2474, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 75.89 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3925, allocations: 62.44 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003021/0.3956, allocations: 1.742 MB / 0.5328 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3973, allocations: 1.015 MB / 0.5338 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.3974, allocations: 0 / 0.5338 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.3978, allocations: 82.84 kB / 0.5339 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.3981, allocations: 121.7 kB / 0.534 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.3983, allocations: 80.17 kB / 0.534 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.3985, allocations: 111.7 kB / 0.5342 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3986, allocations: 10.86 kB / 0.5342 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3988, allocations: 53.77 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3989, allocations: 59.27 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3989, allocations: 4.125 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.399, allocations: 52.84 kB / 0.5343 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.3991, allocations: 24.11 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.3991, allocations: 35.94 kB / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3994, allocations: 129.8 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3994, allocations: 0 / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3994, allocations: 0 / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3994, allocations: 0 / 0.5345 GB, free: 11.21 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.0005753/0.4, allocations: 431.6 kB / 0.5349 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.4, allocations: 13.56 kB / 0.5349 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.4001, allocations: 18.34 kB / 0.5349 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.4003, allocations: 216.6 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4004, allocations: 1.75 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.4004, allocations: 6.875 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.4005, allocations: 53.48 kB / 0.5352 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4006, allocations: 0.9688 kB / 0.5352 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.4006, allocations: 0 / 0.5352 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4006, allocations: 1.188 kB / 0.5352 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.451e-05/0.4007, allocations: 18.67 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.401, allocations: 300 kB / 0.5355 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.4012, allocations: 54.31 kB / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.4012, allocations: 21.59 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.4013, allocations: 5.062 kB / 0.5356 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.4014, allocations: 69.41 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4014, allocations: 0 / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005283/0.402, allocations: 183.8 kB / 0.5358 GB, free: 9.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.402, allocations: 52.78 kB / 0.5359 GB, free: 9.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.4022, allocations: 224.7 kB / 0.5361 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.4023, allocations: 26.83 kB / 0.5361 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.4023, allocations: 106.5 kB / 0.5362 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.4024, allocations: 27.23 kB / 0.5363 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.4024, allocations: 28.33 kB / 0.5363 GB, free: 9.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4025, allocations: 331.1 kB / 0.5366 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.4026, allocations: 19.28 kB / 0.5366 GB, free: 9.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-05/0.4027, allocations: 35.23 kB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.4028, allocations: 54.86 kB / 0.5367 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4028, allocations: 5.062 kB / 0.5367 GB, free: 9.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.403, allocations: 111.8 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.403, allocations: 4.719 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4031, allocations: 1.188 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4031, allocations: 1.125 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.4032, allocations: 17.53 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.4032, allocations: 1.156 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.4032, allocations: 16.92 kB / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.4033, allocations: 3.562 kB / 0.5369 GB, free: 9 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.0001126/0.4034, allocations: 133.5 kB / 0.537 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.4034, allocations: 13.03 kB / 0.537 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.4035, allocations: 19.61 kB / 0.537 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4035, allocations: 1.156 kB / 0.537 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4035, allocations: 1.125 kB / 0.537 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4035, allocations: 3.938 kB / 0.537 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.4039, allocations: 404.1 kB / 0.5374 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.404, allocations: 5.344 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.404, allocations: 7.875 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.404, allocations: 1.188 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.404, allocations: 5.125 kB / 0.5374 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.404, allocations: 9.078 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.404, allocations: 1.094 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.4043, allocations: 204.6 kB / 0.5376 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.4044, allocations: 88.62 kB / 0.5377 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.4044, allocations: 6.25 kB / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.4045, allocations: 1.031 kB / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.4045, allocations: 12.2 kB / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.4045, allocations: 3.969 kB / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.4047, allocations: 164.7 kB / 0.5379 GB, free: 8.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4047, allocations: 0 / 0.5379 GB, free: 8.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.4049, allocations: 28.42 kB / 0.5379 GB, free: 8.023 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.001061/0.406, allocations: 453.4 kB / 0.5384 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.4062, allocations: 62.28 kB / 0.5384 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4062, allocations: 0 / 0.5384 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.4063, allocations: 30.38 kB / 0.5384 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.4067, allocations: 35.5 kB / 0.5385 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.4072, allocations: 249.1 kB / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4075, allocations: 0.7077 MB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.4076, allocations: 18.62 kB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.4076, allocations: 19.61 kB / 0.5394 GB, free: 6.809 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4076, allocations: 0 / 0.5394 GB, free: 6.809 MB / 398.1 MB Notification: Performance of Templates: time 0.004508/0.4121, allocations: 1.756 MB / 0.5412 GB, free: 5.918 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches