Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 115.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, 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.2042/0.2042, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001595, allocations: 75.88 kB / 482.1 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3322, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002827/0.335, allocations: 1.682 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3367, allocations: 1.002 MB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.3368, allocations: 1.375 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.3371, allocations: 63.11 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.3374, allocations: 106 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.3376, allocations: 73.42 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.3378, allocations: 107.3 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.3378, allocations: 9.234 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.3379, allocations: 47.97 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.338, allocations: 43.83 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.338, allocations: 3.406 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.502e-05/0.3381, allocations: 28.67 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.3382, allocations: 26.75 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.3382, allocations: 30.78 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.3384, allocations: 113 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3384, allocations: 1.125 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3384, allocations: 0 / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3384, allocations: 0 / 0.535 GB, free: 11.09 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.0004835/0.3389, allocations: 412.9 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.339, allocations: 8.844 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.339, allocations: 13.31 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.3393, allocations: 208.8 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3393, allocations: 1.562 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3394, allocations: 17.34 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3395, allocations: 47.67 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3395, allocations: 4 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3395, allocations: 1.219 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3395, allocations: 0 / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.637e-05/0.3396, allocations: 20.69 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.3398, allocations: 179.3 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.34, allocations: 50.44 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.34, allocations: 29.78 kB / 0.5359 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3401, allocations: 0 / 0.5359 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.3402, allocations: 72.91 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.3402, allocations: 0 / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002757/0.3405, allocations: 91.92 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3406, allocations: 56.56 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3408, allocations: 195.5 kB / 0.5363 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3408, allocations: 31.14 kB / 0.5364 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.3409, allocations: 101.2 kB / 0.5365 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.3409, allocations: 21.06 kB / 0.5365 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.3409, allocations: 22.8 kB / 0.5365 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.341, allocations: 323 kB / 0.5368 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.3411, allocations: 10.88 kB / 0.5368 GB, free: 9.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.3412, allocations: 28.7 kB / 0.5369 GB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.761e-05/0.3413, allocations: 47.58 kB / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3413, allocations: 0 / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001478/0.3414, allocations: 83.72 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3414, allocations: 4.125 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3415, allocations: 1.375 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3415, allocations: 1.375 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.3416, allocations: 12.95 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3416, allocations: 3.938 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.3416, allocations: 10.31 kB / 0.537 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.3416, allocations: 6.531 kB / 0.537 GB, free: 9.109 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 9.715e-05/0.3417, allocations: 119.2 kB / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.3418, allocations: 21.17 kB / 0.5371 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.3418, allocations: 12.88 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3418, allocations: 0 / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3418, allocations: 5.219 kB / 0.5372 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.3419, allocations: 83.7 kB / 0.5372 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3419, allocations: 5.391 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.342, allocations: 9.25 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.342, allocations: 6.25 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001865/0.3422, allocations: 152.6 kB / 0.5374 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002247/0.3424, allocations: 255.2 kB / 0.5377 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.192e-05/0.3425, allocations: 17.58 kB / 0.5377 GB, free: 8.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3426, allocations: 156.7 kB / 0.5378 GB, free: 8.363 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.3426, allocations: 0 / 0.5378 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3438, allocations: 410.7 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005885/0.3444, allocations: 0.6649 MB / 0.5389 GB, free: 7.512 MB / 398.1 MB Notification: Performance of Templates: time 0.003944/0.3484, allocations: 1.563 MB / 0.5404 GB, free: 6.715 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches