Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 75.88 kB / 482.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3404, allocations: 62.43 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003374/0.3439, allocations: 1.729 MB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.3457, allocations: 1.018 MB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.143e-05/0.3458, allocations: 9.312 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.3462, allocations: 42.77 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.3466, allocations: 95.09 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.3468, allocations: 74.92 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.347, allocations: 106.3 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.3472, allocations: 6.688 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.3473, allocations: 47.52 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.3474, allocations: 33.98 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.3474, allocations: 3.344 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.3475, allocations: 44.2 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.438e-05/0.3476, allocations: 27.09 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.3477, allocations: 39.44 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.3479, allocations: 118.9 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.348, allocations: 0 / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.348, allocations: 0 / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.348, allocations: 0 / 0.535 GB, free: 11 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.0006085/0.3486, allocations: 423.6 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3486, allocations: 12.81 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.3487, allocations: 9.562 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.349, allocations: 217.3 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.349, allocations: 1.531 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.3491, allocations: 6.156 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3492, allocations: 54.05 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3493, allocations: 3.906 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3493, allocations: 1.031 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3493, allocations: 5.25 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.822e-05/0.3494, allocations: 17.95 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.3498, allocations: 294.7 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.3499, allocations: 53.92 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.35, allocations: 21.97 kB / 0.5361 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.35, allocations: 5.062 kB / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.3502, allocations: 73.48 kB / 0.5362 GB, free: 9.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3502, allocations: 0 / 0.5362 GB, free: 9.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005534/0.3508, allocations: 174.3 kB / 0.5364 GB, free: 9.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.3508, allocations: 52.59 kB / 0.5364 GB, free: 9.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.351, allocations: 191.7 kB / 0.5366 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.351, allocations: 35.08 kB / 0.5366 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.3511, allocations: 97.64 kB / 0.5367 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.3511, allocations: 31.75 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.3512, allocations: 20.59 kB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3513, allocations: 329.5 kB / 0.5371 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-05/0.3514, allocations: 18.98 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.3514, allocations: 35.45 kB / 0.5371 GB, free: 8.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3516, allocations: 71.05 kB / 0.5372 GB, free: 8.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3516, allocations: 0 / 0.5372 GB, free: 8.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.3518, allocations: 96.22 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3518, allocations: 5.469 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3518, allocations: 0 / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3518, allocations: 1.156 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.3519, allocations: 28.89 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.3519, allocations: 1.344 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.352, allocations: 6.562 kB / 0.5373 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.352, allocations: 7.031 kB / 0.5373 GB, free: 8.84 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 9.879e-05/0.3521, allocations: 127 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.3521, allocations: 13 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.3522, allocations: 18.8 kB / 0.5375 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3522, allocations: 0 / 0.5375 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3522, allocations: 1.344 kB / 0.5375 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.3523, allocations: 87.42 kB / 0.5376 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.3523, allocations: 5.375 kB / 0.5376 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/0.3523, allocations: 5.531 kB / 0.5376 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.3524, allocations: 10.95 kB / 0.5376 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002079/0.3526, allocations: 172.9 kB / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002729/0.3529, allocations: 274.5 kB / 0.538 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.622e-05/0.3529, allocations: 24.64 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.3531, allocations: 157.6 kB / 0.5382 GB, free: 8.066 MB / 398.1 MB Notification: Performance of Backend: time 4.5e-07/0.3531, allocations: 0 / 0.5382 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.3545, allocations: 495.2 kB / 0.5387 GB, free: 7.828 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006613/0.3552, allocations: 0.6682 MB / 0.5393 GB, free: 7.18 MB / 398.1 MB Notification: Performance of Templates: time 0.004729/0.36, allocations: 1.809 MB / 0.5411 GB, free: 6.262 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches