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.001448/0.001448, 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.001714/0.001714, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.09 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 79.88 kB / 482.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3188, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003187/0.322, allocations: 1.727 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3239, allocations: 1.024 MB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.324, allocations: 0 / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.3243, allocations: 41.52 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.3246, allocations: 94.03 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.3249, allocations: 83.36 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.3251, allocations: 101.2 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.883e-05/0.3252, allocations: 10.56 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.3253, allocations: 36.48 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.3254, allocations: 45.83 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3254, allocations: 3.656 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3255, allocations: 40.89 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.3256, allocations: 25.36 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.3256, allocations: 30.67 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3259, allocations: 115.4 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3259, allocations: 1.375 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3259, allocations: 0 / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3259, allocations: 0 / 0.535 GB, free: 11.09 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.0005714/0.3265, allocations: 412.3 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.3265, allocations: 9.625 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.3265, allocations: 10.34 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.3269, allocations: 214.3 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3269, allocations: 1.75 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.3269, allocations: 5.5 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3271, allocations: 54.05 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3271, allocations: 1.375 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3271, allocations: 0 / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3271, allocations: 1.375 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.3272, allocations: 21.55 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.3277, allocations: 289.4 kB / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3278, allocations: 57.92 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.3279, allocations: 17.11 kB / 0.5361 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3279, allocations: 5.359 kB / 0.5361 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.3281, allocations: 73.08 kB / 0.5362 GB, free: 9.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3281, allocations: 1.375 kB / 0.5362 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005811/0.3287, allocations: 172.3 kB / 0.5363 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3287, allocations: 52.47 kB / 0.5364 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3289, allocations: 173.8 kB / 0.5365 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3289, allocations: 30.78 kB / 0.5366 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.329, allocations: 96.45 kB / 0.5367 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.329, allocations: 22.92 kB / 0.5367 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.329, allocations: 25.16 kB / 0.5367 GB, free: 9.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3292, allocations: 325 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.3292, allocations: 23.73 kB / 0.537 GB, free: 9.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.3293, allocations: 42.89 kB / 0.5371 GB, free: 9.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.3294, allocations: 59.22 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3294, allocations: 4 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002322/0.3297, allocations: 103 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3297, allocations: 6.312 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3297, allocations: 0 / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3297, allocations: 5.375 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.3298, allocations: 21.09 kB / 0.5373 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3298, allocations: 1.031 kB / 0.5373 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.3299, allocations: 5.625 kB / 0.5373 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3299, allocations: 7.281 kB / 0.5373 GB, free: 8.949 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.000141/0.33, allocations: 128.3 kB / 0.5374 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3301, allocations: 14.38 kB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.3301, allocations: 12.19 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3301, allocations: 1.5 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3301, allocations: 0 / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3301, allocations: 3.938 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.3306, allocations: 393.1 kB / 0.5378 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3306, allocations: 4.031 kB / 0.5378 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.3307, allocations: 12.03 kB / 0.5378 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3307, allocations: 1.188 kB / 0.5378 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3307, allocations: 5.156 kB / 0.5378 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3307, allocations: 1 kB / 0.5378 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3307, allocations: 1.125 kB / 0.5378 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.3309, allocations: 195.7 kB / 0.538 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.331, allocations: 92.47 kB / 0.5381 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.331, allocations: 8.969 kB / 0.5381 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.3311, allocations: 2.25 kB / 0.5381 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.3311, allocations: 7.516 kB / 0.5381 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3311, allocations: 3.25 kB / 0.5381 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.3313, allocations: 133.2 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3313, allocations: 0 / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000273/0.3316, allocations: 20.78 kB / 0.5383 GB, free: 8.016 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.001042/0.3326, allocations: 470.2 kB / 0.5387 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.3328, allocations: 58.36 kB / 0.5388 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3328, allocations: 0 / 0.5388 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.626e-05/0.3329, allocations: 29.02 kB / 0.5388 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3332, allocations: 36.02 kB / 0.5388 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.3336, allocations: 236.5 kB / 0.5391 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.3339, allocations: 0.7 MB / 0.5397 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.334, allocations: 19.72 kB / 0.5398 GB, free: 6.789 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.334, allocations: 4.062 kB / 0.5398 GB, free: 6.785 MB / 398.1 MB Notification: Performance of Templates: time 0.003741/0.3377, allocations: 1.91 MB / 0.5416 GB, free: 5.801 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