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.001245/0.001245, allocations: 114.4 kB / 18.46 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.001558/0.001558, allocations: 202 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247.6 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.2385/0.2385, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 76.09 kB / 482.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3903, allocations: 62.44 MB / 0.5318 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003375/0.3937, allocations: 1.75 MB / 0.5335 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3954, allocations: 1.03 MB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.3955, allocations: 1.312 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.3959, allocations: 111.1 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.3962, allocations: 125.2 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.3964, allocations: 79.05 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.3967, allocations: 137.3 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3968, allocations: 15.84 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.844e-05/0.3969, allocations: 60.5 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.397, allocations: 66.19 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.397, allocations: 4.125 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3972, allocations: 59.84 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.3972, allocations: 38.78 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.3973, allocations: 46.67 kB / 0.5352 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3975, allocations: 159.7 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3976, allocations: 0 / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3976, allocations: 0 / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3976, allocations: 0 / 0.5353 GB, free: 10.91 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.0006075/0.3982, allocations: 456.4 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3982, allocations: 9.625 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.3983, allocations: 15.62 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.3986, allocations: 229.4 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3986, allocations: 7.094 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.3987, allocations: 10.89 kB / 0.536 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.3989, allocations: 66.88 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3989, allocations: 1.125 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3989, allocations: 1.219 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3989, allocations: 0 / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.399, allocations: 38.28 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.3995, allocations: 314.5 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.3998, allocations: 81.08 kB / 0.5365 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.3999, allocations: 28.72 kB / 0.5365 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3999, allocations: 5.125 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.4001, allocations: 77.34 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.4001, allocations: 0 / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008441/0.401, allocations: 271.5 kB / 0.5369 GB, free: 9.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.401, allocations: 60.59 kB / 0.5369 GB, free: 9.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.4013, allocations: 255.4 kB / 0.5372 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.4013, allocations: 26.77 kB / 0.5372 GB, free: 9.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.4014, allocations: 112.1 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.4015, allocations: 41.17 kB / 0.5373 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.4015, allocations: 31 kB / 0.5374 GB, free: 9.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4017, allocations: 331.7 kB / 0.5377 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.738e-05/0.4018, allocations: 37.89 kB / 0.5377 GB, free: 8.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.4019, allocations: 52.86 kB / 0.5378 GB, free: 8.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.402, allocations: 89.84 kB / 0.5379 GB, free: 8.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4021, allocations: 0 / 0.5379 GB, free: 8.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002612/0.4023, allocations: 139.3 kB / 0.538 GB, free: 8.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4024, allocations: 13.38 kB / 0.538 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4024, allocations: 4 kB / 0.538 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4024, allocations: 1.312 kB / 0.538 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.4025, allocations: 27.17 kB / 0.538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.4025, allocations: 5.375 kB / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.4026, allocations: 1.375 kB / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4026, allocations: 4.875 kB / 0.5381 GB, free: 8.523 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.0001191/0.4027, allocations: 140.4 kB / 0.5382 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.4027, allocations: 19.69 kB / 0.5382 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.4028, allocations: 22.53 kB / 0.5382 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4028, allocations: 1.062 kB / 0.5382 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4028, allocations: 4.938 kB / 0.5382 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4028, allocations: 0 / 0.5382 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.4035, allocations: 483.8 kB / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4035, allocations: 0 / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.4035, allocations: 18.36 kB / 0.5387 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4036, allocations: 5.281 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4036, allocations: 2.438 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4036, allocations: 1.438 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4036, allocations: 1.375 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.4039, allocations: 253.9 kB / 0.539 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.404, allocations: 93.55 kB / 0.5391 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.404, allocations: 10.17 kB / 0.5391 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.4041, allocations: 2.281 kB / 0.5391 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.4041, allocations: 12.67 kB / 0.5391 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.4042, allocations: 5.531 kB / 0.5391 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.4044, allocations: 191.7 kB / 0.5393 GB, free: 7.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4044, allocations: 0 / 0.5393 GB, free: 7.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.4047, allocations: 39.45 kB / 0.5393 GB, free: 7.449 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.001263/0.406, allocations: 0.4997 MB / 0.5398 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.4062, allocations: 90.97 kB / 0.5399 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4063, allocations: 1.219 kB / 0.5399 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.4064, allocations: 49.55 kB / 0.5399 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.4068, allocations: 42.03 kB / 0.54 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.4074, allocations: 341.2 kB / 0.5403 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.4077, allocations: 0.7203 MB / 0.541 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.4078, allocations: 21.95 kB / 0.541 GB, free: 6.121 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4078, allocations: 1.438 kB / 0.541 GB, free: 6.121 MB / 398.1 MB Notification: Performance of Templates: time 0.004617/0.4124, allocations: 2.44 MB / 0.5434 GB, free: 4.863 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches