Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 114.6 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.001849/0.001849, allocations: 212 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.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 83.88 kB / 482.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.333, allocations: 62.44 MB / 0.5318 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002813/0.3359, allocations: 1.736 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3374, allocations: 1.014 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.3375, allocations: 0 / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.3378, allocations: 91.44 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.3382, allocations: 114.1 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.3384, allocations: 78.86 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3386, allocations: 125.1 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3387, allocations: 6.875 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3388, allocations: 53.77 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3389, allocations: 64.41 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3389, allocations: 4.031 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3391, allocations: 43.42 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.3391, allocations: 23.67 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.3392, allocations: 41.38 kB / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.3394, allocations: 128 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3394, allocations: 4 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3394, allocations: 0 / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3394, allocations: 0 / 0.5352 GB, free: 10.98 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.0005707/0.34, allocations: 421.7 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3401, allocations: 13.25 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.3401, allocations: 13.56 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3404, allocations: 209.8 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3404, allocations: 5.891 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.3404, allocations: 10.5 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3406, allocations: 53.48 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3406, allocations: 0 / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3406, allocations: 5.344 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3406, allocations: 5.156 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.3407, allocations: 17.92 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.3411, allocations: 288.4 kB / 0.5362 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3413, allocations: 61.42 kB / 0.5362 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.3413, allocations: 17.77 kB / 0.5363 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3414, allocations: 5.062 kB / 0.5363 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.3415, allocations: 70.06 kB / 0.5363 GB, free: 9.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3415, allocations: 0 / 0.5363 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005217/0.342, allocations: 170.8 kB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3421, allocations: 52.56 kB / 0.5365 GB, free: 9.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.3423, allocations: 227 kB / 0.5368 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3423, allocations: 33.7 kB / 0.5368 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.3424, allocations: 106.1 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.3424, allocations: 23.83 kB / 0.5369 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.3424, allocations: 20.72 kB / 0.5369 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3426, allocations: 330 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.3426, allocations: 23.8 kB / 0.5373 GB, free: 8.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.3427, allocations: 43.77 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.3428, allocations: 62.61 kB / 0.5374 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3428, allocations: 0 / 0.5374 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.343, allocations: 103.8 kB / 0.5375 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.343, allocations: 5.469 kB / 0.5375 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.343, allocations: 1.156 kB / 0.5375 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.343, allocations: 1.406 kB / 0.5375 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.3431, allocations: 16.98 kB / 0.5375 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3431, allocations: 0 / 0.5375 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.3432, allocations: 14.66 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3432, allocations: 6.438 kB / 0.5375 GB, free: 8.793 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.41e-05/0.3433, allocations: 133.9 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.3433, allocations: 9.031 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.3434, allocations: 19.33 kB / 0.5377 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3434, allocations: 5.578 kB / 0.5377 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3434, allocations: 0 / 0.5377 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.3434, allocations: 87.98 kB / 0.5378 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3435, allocations: 5.219 kB / 0.5378 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/0.3435, allocations: 10.03 kB / 0.5378 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.3436, allocations: 6.953 kB / 0.5378 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001995/0.3438, allocations: 172.1 kB / 0.5379 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002376/0.344, allocations: 282.7 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.364e-05/0.3441, allocations: 25.42 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.3442, allocations: 169 kB / 0.5384 GB, free: 8.008 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.3442, allocations: 1.094 kB / 0.5384 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.3456, allocations: 494 kB / 0.5389 GB, free: 7.773 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007403/0.3464, allocations: 0.6812 MB / 0.5395 GB, free: 7.125 MB / 398.1 MB Notification: Performance of Templates: time 0.004829/0.3512, allocations: 1.831 MB / 0.5413 GB, free: 6.191 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches