Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001308, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 75.88 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3593, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003793/0.3632, allocations: 1.727 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.3652, allocations: 1.015 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3653, allocations: 5.312 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.3657, allocations: 45.39 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.3661, allocations: 93.72 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.3663, allocations: 78.91 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.3666, allocations: 106.3 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3667, allocations: 6.875 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3668, allocations: 48.27 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.934e-05/0.3669, allocations: 33.42 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.367, allocations: 4.125 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.3671, allocations: 47.42 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.3672, allocations: 21.41 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.3672, allocations: 28.06 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3675, allocations: 115.4 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3675, allocations: 1.375 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3675, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3675, allocations: 0 / 0.535 GB, free: 11.05 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.0006732/0.3682, allocations: 408.3 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3683, allocations: 13.56 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.3683, allocations: 16.91 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.3688, allocations: 207.2 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3688, allocations: 5.734 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.3688, allocations: 6.875 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.369, allocations: 54.05 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.369, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3691, allocations: 1.375 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3691, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.856e-05/0.3692, allocations: 18.98 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.3696, allocations: 297 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.3698, allocations: 57.55 kB / 0.5361 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.334e-05/0.3699, allocations: 22.48 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.37, allocations: 1.125 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.3701, allocations: 73.11 kB / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.3701, allocations: 0 / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006408/0.3708, allocations: 173 kB / 0.5363 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.3709, allocations: 52.5 kB / 0.5364 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.3711, allocations: 173.6 kB / 0.5365 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3711, allocations: 30.95 kB / 0.5366 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.3712, allocations: 96.02 kB / 0.5367 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3712, allocations: 27.08 kB / 0.5367 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.3713, allocations: 20.88 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3714, allocations: 325.4 kB / 0.537 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.626e-05/0.3715, allocations: 23.05 kB / 0.537 GB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.101e-05/0.3716, allocations: 35.2 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3717, allocations: 71.91 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3718, allocations: 0 / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002158/0.372, allocations: 94.66 kB / 0.5372 GB, free: 8.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.372, allocations: 5.594 kB / 0.5372 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.372, allocations: 1.031 kB / 0.5372 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.3721, allocations: 1.094 kB / 0.5372 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3722, allocations: 20.55 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3722, allocations: 1.062 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.3722, allocations: 6.125 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3723, allocations: 6.375 kB / 0.5373 GB, free: 8.91 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.0001183/0.3724, allocations: 129.8 kB / 0.5374 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.3724, allocations: 12.53 kB / 0.5374 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.3725, allocations: 13.44 kB / 0.5374 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3725, allocations: 5.156 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3725, allocations: 0 / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3725, allocations: 3.938 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.3731, allocations: 396.6 kB / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3731, allocations: 5.062 kB / 0.5378 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.445e-05/0.3731, allocations: 7.688 kB / 0.5378 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3731, allocations: 1.062 kB / 0.5378 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.3732, allocations: 6.375 kB / 0.5378 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3732, allocations: 5.188 kB / 0.5378 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3732, allocations: 0 / 0.5378 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.3734, allocations: 204.6 kB / 0.538 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.3735, allocations: 87.34 kB / 0.5381 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.3735, allocations: 6.219 kB / 0.5381 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.3736, allocations: 6.031 kB / 0.5381 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.3736, allocations: 7.328 kB / 0.5381 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3737, allocations: 3.281 kB / 0.5381 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.3738, allocations: 129.9 kB / 0.5382 GB, free: 7.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3738, allocations: 0 / 0.5382 GB, free: 7.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.3741, allocations: 24.73 kB / 0.5383 GB, free: 7.965 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.001063/0.3751, allocations: 466.4 kB / 0.5387 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.3753, allocations: 58.22 kB / 0.5388 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3754, allocations: 4.062 kB / 0.5388 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.3754, allocations: 29.2 kB / 0.5388 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.3758, allocations: 38.92 kB / 0.5388 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.3763, allocations: 228.2 kB / 0.5391 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3766, allocations: 0.6996 MB / 0.5397 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.3766, allocations: 23.38 kB / 0.5398 GB, free: 6.742 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3766, allocations: 0 / 0.5398 GB, free: 6.742 MB / 398.1 MB Notification: Performance of Templates: time 0.003713/0.3803, allocations: 1.912 MB / 0.5416 GB, free: 5.758 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches