Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 114.9 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 210.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 75.88 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3415, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002706/0.3443, allocations: 1.691 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3458, allocations: 1.004 MB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.3459, allocations: 0 / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.3462, allocations: 50.94 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.3465, allocations: 97.3 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.3467, allocations: 78.12 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3468, allocations: 98.47 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.3469, allocations: 9.734 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.347, allocations: 38.91 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.3471, allocations: 25.48 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3471, allocations: 4.125 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.014e-05/0.3472, allocations: 36.61 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.3472, allocations: 33.47 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.3473, allocations: 53.22 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.3475, allocations: 123.4 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3475, allocations: 5.312 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3475, allocations: 0 / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.3475, allocations: 0 / 0.535 GB, free: 11.08 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000525/0.348, allocations: 428.3 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3481, allocations: 8.25 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3481, allocations: 11.72 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.3484, allocations: 222.8 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3484, allocations: 5.75 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.3485, allocations: 9.484 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3486, allocations: 43.31 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3486, allocations: 1.375 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3486, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3486, allocations: 5.312 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/0.3487, allocations: 14.86 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.3489, allocations: 200.8 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.3491, allocations: 55.17 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.3491, allocations: 21.05 kB / 0.536 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.3492, allocations: 0 / 0.536 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.3493, allocations: 69.08 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.3493, allocations: 4 kB / 0.536 GB, free: 9.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003117/0.3496, allocations: 96.52 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.3497, allocations: 56.33 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3499, allocations: 271.5 kB / 0.5364 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3499, allocations: 26.86 kB / 0.5365 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.35, allocations: 111.4 kB / 0.5366 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.35, allocations: 14.38 kB / 0.5366 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.3501, allocations: 17.94 kB / 0.5366 GB, free: 9.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3502, allocations: 332.4 kB / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.3503, allocations: 10.94 kB / 0.5369 GB, free: 9.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.478e-05/0.3503, allocations: 35.64 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/0.3504, allocations: 47.58 kB / 0.537 GB, free: 9.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3504, allocations: 1.062 kB / 0.537 GB, free: 9.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001598/0.3506, allocations: 93.19 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3506, allocations: 5.219 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3506, allocations: 0 / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3506, allocations: 1.125 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.3507, allocations: 12.52 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3507, allocations: 1.062 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.3508, allocations: 7.188 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.3508, allocations: 1.5 kB / 0.5371 GB, free: 9.043 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 (7): * Single equations (assignments): 7 * 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.0001086/0.3509, allocations: 136.7 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.3509, allocations: 18.69 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.351, allocations: 20.73 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.351, allocations: 0 / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.351, allocations: 3.938 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.351, allocations: 88.2 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3511, allocations: 1.344 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.356e-05/0.3511, allocations: 10.14 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.3512, allocations: 2.281 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001921/0.3513, allocations: 160.4 kB / 0.5376 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002197/0.3516, allocations: 268.7 kB / 0.5378 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.61e-05/0.3516, allocations: 22.14 kB / 0.5378 GB, free: 8.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.3518, allocations: 197.7 kB / 0.538 GB, free: 8.262 MB / 398.1 MB Notification: Performance of Backend: time 2.4e-07/0.3518, allocations: 1.281 kB / 0.538 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.3531, allocations: 427.3 kB / 0.5384 GB, free: 8.059 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006932/0.3538, allocations: 0.7085 MB / 0.5391 GB, free: 7.391 MB / 398.1 MB Notification: Performance of Templates: time 0.004178/0.358, allocations: 1.608 MB / 0.5407 GB, free: 6.566 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches