Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001675, allocations: 112.7 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.002062/0.002063, allocations: 206.8 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.387/1.387, 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.2092/0.2092, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 76.2 kB / 482.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3365, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003848/0.3404, allocations: 1.736 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.342, allocations: 1.018 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.3421, allocations: 0 / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.3424, allocations: 38.77 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.3428, allocations: 95.09 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.343, allocations: 74.92 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.3433, allocations: 116.8 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3434, allocations: 10.88 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3435, allocations: 44.28 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.134e-05/0.3436, allocations: 33.42 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3437, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.3438, allocations: 44.88 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.3438, allocations: 17.23 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.3439, allocations: 32.91 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3441, allocations: 119.2 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3441, allocations: 1.344 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3441, allocations: 4 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3442, 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.0006233/0.3448, allocations: 410.1 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3448, allocations: 8.656 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.3449, allocations: 14.25 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.3452, allocations: 211.8 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3452, allocations: 1.656 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3453, allocations: 10.55 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3454, allocations: 61.95 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.3454, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3455, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3455, allocations: 5.234 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.3455, allocations: 15.19 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.3459, allocations: 288.9 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.3461, allocations: 62.25 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.3461, allocations: 21.75 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.3462, allocations: 1.094 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.3463, allocations: 64.92 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3463, allocations: 0 / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005515/0.3469, allocations: 181.6 kB / 0.5363 GB, free: 9.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.3469, allocations: 56.44 kB / 0.5364 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.3471, allocations: 178.2 kB / 0.5366 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3471, allocations: 34.84 kB / 0.5366 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.3472, allocations: 100.6 kB / 0.5367 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.3472, allocations: 27.14 kB / 0.5367 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.3473, allocations: 20.53 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.3474, allocations: 330.3 kB / 0.5371 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.3474, allocations: 18.58 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.3475, allocations: 48.08 kB / 0.5371 GB, free: 9.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.3476, allocations: 59.08 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3476, allocations: 0 / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.3478, allocations: 99.92 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3478, allocations: 5.656 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3479, allocations: 0 / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3479, allocations: 5.156 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.348, allocations: 21.2 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.348, allocations: 1.25 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.348, allocations: 6.469 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3481, allocations: 6.406 kB / 0.5373 GB, free: 8.898 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.703e-05/0.3482, allocations: 122 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.3482, allocations: 17.5 kB / 0.5374 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.3482, allocations: 18.03 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3482, allocations: 0 / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3482, allocations: 4 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.3483, allocations: 88.06 kB / 0.5376 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.3483, allocations: 5.062 kB / 0.5376 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.169e-05/0.3484, allocations: 2.719 kB / 0.5376 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.3484, allocations: 6.766 kB / 0.5376 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002011/0.3486, allocations: 172.6 kB / 0.5377 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000262/0.3489, allocations: 285.7 kB / 0.538 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.477e-05/0.349, allocations: 25.39 kB / 0.538 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.3491, allocations: 140.2 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3491, allocations: 0 / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.3504, allocations: 471.3 kB / 0.5386 GB, free: 7.914 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006232/0.3511, allocations: 0.6726 MB / 0.5393 GB, free: 7.262 MB / 398.1 MB Notification: Performance of Templates: time 0.004901/0.356, allocations: 1.798 MB / 0.541 GB, free: 6.348 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches