Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 107.8 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 217.9 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 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.2213/0.2213, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 79.88 kB / 482.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.365, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00351/0.3686, allocations: 1.93 MB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3704, allocations: 1.057 MB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3705, allocations: 6.688 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.3708, allocations: 45.33 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.3712, allocations: 94.98 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.3714, allocations: 97.69 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.3717, allocations: 149.2 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.3719, allocations: 31.28 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.372, allocations: 56.34 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3721, allocations: 49.25 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.3722, allocations: 6.969 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3723, allocations: 56.16 kB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.3724, allocations: 21.67 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3725, allocations: 59.95 kB / 0.5353 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.3728, allocations: 152.4 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.3728, allocations: 1.562 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3728, allocations: 0 / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3728, allocations: 0 / 0.5354 GB, free: 10.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000801/0.3737, allocations: 483.1 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3737, allocations: 9.938 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.3738, allocations: 19.17 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.3742, allocations: 244.7 kB / 0.5362 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.3742, allocations: 2.688 kB / 0.5362 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.3742, allocations: 17.5 kB / 0.5362 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3745, allocations: 105.2 kB / 0.5363 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.3745, allocations: 0 / 0.5363 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3745, allocations: 8.969 kB / 0.5363 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3745, allocations: 2.188 kB / 0.5363 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.3747, allocations: 50.89 kB / 0.5363 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.3753, allocations: 0.5029 MB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.3757, allocations: 92.19 kB / 0.5369 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.3758, allocations: 35.88 kB / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.3758, allocations: 1.938 kB / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.376, allocations: 81.25 kB / 0.537 GB, free: 9.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.376, allocations: 0 / 0.537 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004083/0.3764, allocations: 147.1 kB / 0.5372 GB, free: 9.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3765, allocations: 56.81 kB / 0.5372 GB, free: 9.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.3767, allocations: 199.9 kB / 0.5374 GB, free: 8.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3767, allocations: 30.86 kB / 0.5374 GB, free: 8.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.3768, allocations: 115 kB / 0.5376 GB, free: 8.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.3769, allocations: 35.09 kB / 0.5376 GB, free: 8.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.3769, allocations: 27.5 kB / 0.5376 GB, free: 8.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3771, allocations: 338.7 kB / 0.5379 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.3771, allocations: 31.48 kB / 0.538 GB, free: 8.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3773, allocations: 67.23 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3775, allocations: 97.62 kB / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3775, allocations: 1.531 kB / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002802/0.3778, allocations: 132.9 kB / 0.5382 GB, free: 8.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3778, allocations: 5.469 kB / 0.5383 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3778, allocations: 5.344 kB / 0.5383 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3778, allocations: 2.188 kB / 0.5383 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3779, allocations: 34.55 kB / 0.5383 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3779, allocations: 2.156 kB / 0.5383 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.378, allocations: 8.328 kB / 0.5383 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.378, allocations: 4.312 kB / 0.5383 GB, free: 8.117 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001212/0.3782, allocations: 131.2 kB / 0.5384 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.3782, allocations: 14.31 kB / 0.5384 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.3783, allocations: 21.52 kB / 0.5385 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3783, allocations: 10.12 kB / 0.5385 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3783, allocations: 0 / 0.5385 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3783, allocations: 0 / 0.5385 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.3785, allocations: 211.3 kB / 0.5387 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3785, allocations: 0 / 0.5387 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.816e-05/0.3786, allocations: 17.8 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3786, allocations: 1.219 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3786, allocations: 1.469 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3786, allocations: 3.938 kB / 0.5387 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3786, allocations: 4 kB / 0.5387 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.379, allocations: 189.5 kB / 0.5389 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.3791, allocations: 88.59 kB / 0.539 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.3791, allocations: 5.312 kB / 0.539 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.3792, allocations: 7.562 kB / 0.539 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.3792, allocations: 7.266 kB / 0.539 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3793, allocations: 3.531 kB / 0.539 GB, free: 7.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.3794, allocations: 150.3 kB / 0.5391 GB, free: 7.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3794, allocations: 0 / 0.5391 GB, free: 7.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.3797, allocations: 27.52 kB / 0.5392 GB, free: 7.344 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009739/0.3806, allocations: 410.3 kB / 0.5396 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.3809, allocations: 78.12 kB / 0.5396 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3809, allocations: 1.406 kB / 0.5396 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.381, allocations: 42.38 kB / 0.5397 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3813, allocations: 43.19 kB / 0.5397 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.3819, allocations: 304.6 kB / 0.54 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.3822, allocations: 0.7154 MB / 0.5407 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.3823, allocations: 16.81 kB / 0.5407 GB, free: 6.086 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3823, allocations: 0 / 0.5407 GB, free: 6.086 MB / 398.1 MB Notification: Performance of Templates: time 0.004357/0.3867, allocations: 2.212 MB / 0.5429 GB, free: 4.941 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches