Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 75.89 kB / 482.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3592, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003023/0.3623, allocations: 1.727 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3642, allocations: 1.023 MB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.3643, allocations: 4 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3646, allocations: 51.09 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.3649, allocations: 93.38 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.3651, allocations: 79.3 kB / 0.5347 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.3653, allocations: 105.5 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.3654, allocations: 15.5 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.3655, allocations: 47.81 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.3656, allocations: 34.78 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3656, allocations: 2.75 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.3657, allocations: 40.86 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.3658, allocations: 20.17 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.3659, allocations: 49.28 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3661, allocations: 128.8 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3661, allocations: 4 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3661, allocations: 1.375 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3661, allocations: 3.938 kB / 0.5351 GB, free: 11.04 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.0005484/0.3666, allocations: 429.6 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3667, allocations: 9.625 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.3667, allocations: 14.28 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.367, allocations: 219.5 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.367, allocations: 5.75 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3671, allocations: 10.88 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3672, allocations: 54.05 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3672, allocations: 0 / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3673, allocations: 3.984 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3673, allocations: 5.312 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.3674, allocations: 15 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.3677, allocations: 292.2 kB / 0.5361 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.3679, allocations: 61.92 kB / 0.5362 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.3679, allocations: 22.42 kB / 0.5362 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.368, allocations: 1.375 kB / 0.5362 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.3681, allocations: 64.27 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.3681, allocations: 0 / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005417/0.3687, allocations: 187.5 kB / 0.5364 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.3687, allocations: 52.5 kB / 0.5365 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.369, allocations: 233.5 kB / 0.5367 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.369, allocations: 29.7 kB / 0.5367 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.3691, allocations: 110.7 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.3691, allocations: 23.39 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.3692, allocations: 24.41 kB / 0.5369 GB, free: 9.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3693, allocations: 331.8 kB / 0.5372 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.944e-05/0.3693, allocations: 22.12 kB / 0.5372 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.3694, allocations: 39.69 kB / 0.5372 GB, free: 8.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3695, allocations: 63.55 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3696, allocations: 0 / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.3698, allocations: 104.9 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3698, allocations: 4.5 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3698, allocations: 5.125 kB / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.3698, allocations: 5.266 kB / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.3699, allocations: 12.59 kB / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3699, allocations: 1.125 kB / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.37, allocations: 6.125 kB / 0.5374 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.37, allocations: 6.375 kB / 0.5374 GB, free: 8.836 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 0.0001188/0.3701, allocations: 134.4 kB / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.3702, allocations: 9.656 kB / 0.5376 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.3702, allocations: 23.98 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3702, allocations: 4.875 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3702, allocations: 0 / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.3703, allocations: 96.14 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.3703, allocations: 9.047 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.3704, allocations: 2.219 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.3704, allocations: 3.344 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00022/0.3706, allocations: 176.1 kB / 0.5379 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002623/0.3709, allocations: 278.5 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.609e-05/0.371, allocations: 34.75 kB / 0.5382 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3712, allocations: 178 kB / 0.5384 GB, free: 8.039 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3712, allocations: 0 / 0.5384 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.3726, allocations: 486 kB / 0.5388 GB, free: 7.812 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007159/0.3733, allocations: 0.7006 MB / 0.5395 GB, free: 7.148 MB / 398.1 MB Notification: Performance of Templates: time 0.004785/0.3781, allocations: 1.808 MB / 0.5413 GB, free: 6.234 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches