Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001517/0.001517, allocations: 113.8 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 207.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 83.86 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.341, allocations: 62.44 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003105/0.3441, allocations: 1.732 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3459, allocations: 1.012 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.346, allocations: 1.375 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.3463, allocations: 52.12 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.3465, allocations: 96.41 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.3467, allocations: 78.92 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.3469, allocations: 100.9 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.347, allocations: 10.88 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/0.3471, allocations: 44.27 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.3472, allocations: 37.42 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3472, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-05/0.3473, allocations: 40.86 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.3474, allocations: 26.72 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.3474, allocations: 35.98 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.3476, allocations: 127.4 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3476, allocations: 0 / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3476, allocations: 1.375 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3476, allocations: 0 / 0.5351 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.0005119/0.3482, allocations: 420.4 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.3482, allocations: 12.19 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3482, allocations: 14.09 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3485, allocations: 229 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.3485, allocations: 1.875 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3485, allocations: 5.625 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3487, allocations: 54.36 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3487, allocations: 0 / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3487, allocations: 1.312 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3487, allocations: 4 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.3488, allocations: 18.92 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.3491, allocations: 288.1 kB / 0.5361 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3493, allocations: 57.88 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.3494, allocations: 20.94 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3494, allocations: 5.062 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.3495, allocations: 65.73 kB / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3496, allocations: 3.938 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005104/0.3501, allocations: 178.4 kB / 0.5364 GB, free: 9.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3501, allocations: 52.47 kB / 0.5364 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.3503, allocations: 204.6 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3503, allocations: 30.83 kB / 0.5367 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.3504, allocations: 104.9 kB / 0.5368 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.3505, allocations: 32.06 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.3505, allocations: 24.38 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3506, allocations: 329.8 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.3507, allocations: 19.23 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.3507, allocations: 36.39 kB / 0.5372 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3509, allocations: 62.27 kB / 0.5372 GB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.3509, allocations: 384 / 0.5372 GB, free: 8.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/0.3511, allocations: 100.5 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3511, allocations: 5.062 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3511, allocations: 1.062 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3511, allocations: 5.156 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.3512, allocations: 16.39 kB / 0.5374 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3512, allocations: 5.062 kB / 0.5374 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.3513, allocations: 10.09 kB / 0.5374 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3513, allocations: 7.281 kB / 0.5374 GB, free: 8.871 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 8.981e-05/0.3514, allocations: 130.2 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.3514, allocations: 9.969 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.3515, allocations: 19.66 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3515, allocations: 3.984 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3515, allocations: 0 / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.3515, allocations: 88.14 kB / 0.5376 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.3516, allocations: 5.156 kB / 0.5376 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.3516, allocations: 6.094 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.3516, allocations: 11.33 kB / 0.5376 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002075/0.3519, allocations: 176 kB / 0.5378 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002314/0.3521, allocations: 275.5 kB / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.051e-05/0.3522, allocations: 25.89 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.3523, allocations: 165.7 kB / 0.5383 GB, free: 8.09 MB / 398.1 MB Notification: Performance of Backend: time 1.81e-07/0.3523, allocations: 1.25 kB / 0.5383 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.3536, allocations: 479.5 kB / 0.5387 GB, free: 7.863 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006349/0.3543, allocations: 0.6849 MB / 0.5394 GB, free: 7.203 MB / 398.1 MB Notification: Performance of Templates: time 0.004453/0.3587, allocations: 1.816 MB / 0.5412 GB, free: 6.281 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches