Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, 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.2527/0.2527, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001373, allocations: 71.89 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4011, allocations: 62.44 MB / 0.5311 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003215/0.4044, allocations: 1.736 MB / 0.5328 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.4061, allocations: 1.021 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.4062, allocations: 5.312 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.4065, allocations: 41.7 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.4068, allocations: 111.1 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.407, allocations: 78.92 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.4072, allocations: 100.9 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.4074, allocations: 10.67 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.4075, allocations: 49.05 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.4076, allocations: 33.42 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.4076, allocations: 4.625 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.4077, allocations: 47.75 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.4078, allocations: 26.7 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.4079, allocations: 45.3 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.4082, allocations: 140.2 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4082, allocations: 1.219 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4082, allocations: 0 / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.4082, allocations: 0 / 0.5344 GB, free: 10.99 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.0006779/0.4089, allocations: 441.8 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4089, allocations: 9.781 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.409, allocations: 15.22 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.4094, allocations: 228 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.4094, allocations: 5.547 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4095, allocations: 6.438 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.4096, allocations: 54.02 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4097, allocations: 1.188 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.4097, allocations: 0 / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4097, allocations: 5.125 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.4098, allocations: 18.42 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.4102, allocations: 307.7 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.4104, allocations: 57.66 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.4105, allocations: 21.91 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.4106, allocations: 1.062 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.4107, allocations: 73.05 kB / 0.5356 GB, free: 9.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4107, allocations: 0 / 0.5356 GB, free: 9.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006452/0.4114, allocations: 177.2 kB / 0.5358 GB, free: 9.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.4115, allocations: 60.56 kB / 0.5359 GB, free: 9.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.4118, allocations: 271.1 kB / 0.5361 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4118, allocations: 26.95 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.4119, allocations: 111 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.4119, allocations: 28.11 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.4119, allocations: 24.5 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4121, allocations: 336 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.745e-05/0.4121, allocations: 18.09 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.4122, allocations: 36.52 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.4123, allocations: 62.86 kB / 0.5367 GB, free: 8.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4124, allocations: 4 kB / 0.5367 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.4126, allocations: 105 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4126, allocations: 6.5 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4126, allocations: 0 / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4126, allocations: 1.438 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.4127, allocations: 24.55 kB / 0.5369 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4127, allocations: 1.094 kB / 0.5369 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.4128, allocations: 6.094 kB / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.4128, allocations: 3.438 kB / 0.5369 GB, free: 8.75 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.0001123/0.4129, allocations: 136.9 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.413, allocations: 19.39 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.413, allocations: 20.19 kB / 0.537 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.413, allocations: 2.531 kB / 0.537 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.413, allocations: 0 / 0.537 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.413, allocations: 7.922 kB / 0.537 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.4135, allocations: 408 kB / 0.5374 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4135, allocations: 5.062 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.4136, allocations: 15.61 kB / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4136, allocations: 1.188 kB / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.4136, allocations: 5.281 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4136, allocations: 1.562 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4136, allocations: 3.938 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.4139, allocations: 206.4 kB / 0.5377 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.4139, allocations: 89.27 kB / 0.5377 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.414, allocations: 9.141 kB / 0.5378 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.414, allocations: 2.562 kB / 0.5378 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.4141, allocations: 7.75 kB / 0.5378 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.4141, allocations: 6.766 kB / 0.5378 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.4143, allocations: 198.3 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4143, allocations: 1.125 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.4146, allocations: 25.48 kB / 0.538 GB, free: 7.754 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.001186/0.4158, allocations: 465.4 kB / 0.5384 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.416, allocations: 58.44 kB / 0.5385 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.416, allocations: 0 / 0.5385 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.4161, allocations: 41.91 kB / 0.5385 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.4165, allocations: 32.03 kB / 0.5386 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.4171, allocations: 280.6 kB / 0.5388 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.4174, allocations: 0.7199 MB / 0.5395 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.4175, allocations: 22.38 kB / 0.5396 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.4175, allocations: 16.47 kB / 0.5396 GB, free: 6.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4175, allocations: 0 / 0.5396 GB, free: 6.516 MB / 398.1 MB Notification: Performance of Templates: time 0.004772/0.4223, allocations: 1.779 MB / 0.5413 GB, free: 5.617 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches