Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001126, allocations: 114.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 79.88 kB / 482.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3327, allocations: 62.43 MB / 0.5318 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002736/0.3355, allocations: 1.724 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.337, allocations: 1.019 MB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.3371, allocations: 1.375 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.3375, allocations: 48.12 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.3378, allocations: 99.09 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.338, allocations: 72.31 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.3382, allocations: 108.9 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3383, allocations: 14.84 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3384, allocations: 40.3 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.3385, allocations: 37.34 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3385, allocations: 4.125 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3386, allocations: 40.86 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.3387, allocations: 26.8 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.3387, allocations: 39.97 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.339, allocations: 118.7 kB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.339, allocations: 0 / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.339, allocations: 0 / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.339, allocations: 0 / 0.5351 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005812/0.3396, allocations: 428.8 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3396, allocations: 9.625 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.3397, allocations: 12.92 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.34, allocations: 221.9 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.34, allocations: 1.844 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.34, allocations: 5.594 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3402, allocations: 54.64 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3402, allocations: 0 / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3402, allocations: 1.156 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3402, allocations: 3.938 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.3403, allocations: 22.83 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.3407, allocations: 295.2 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.3409, allocations: 54.11 kB / 0.5361 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.341, allocations: 20.84 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.341, allocations: 0.9688 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.3411, allocations: 73.73 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3411, allocations: 0 / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005248/0.3417, allocations: 186.6 kB / 0.5364 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.3417, allocations: 52.47 kB / 0.5364 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.3419, allocations: 192.2 kB / 0.5366 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3419, allocations: 30.8 kB / 0.5366 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.342, allocations: 101.4 kB / 0.5367 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.342, allocations: 23.2 kB / 0.5368 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.3421, allocations: 28.7 kB / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3422, allocations: 330.1 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.3422, allocations: 14.78 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.3423, allocations: 36.36 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.3424, allocations: 66.75 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3424, allocations: 4 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001707/0.3426, allocations: 95.38 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3426, allocations: 5.562 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3426, allocations: 1.094 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3427, allocations: 5.047 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.3428, allocations: 25 kB / 0.5374 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3428, allocations: 1 kB / 0.5374 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.3428, allocations: 2.531 kB / 0.5374 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3428, allocations: 6.219 kB / 0.5374 GB, free: 8.902 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.000103/0.3429, allocations: 131.7 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.343, allocations: 13.5 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.343, allocations: 22.61 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.343, allocations: 0 / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.343, allocations: 0 / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.3431, allocations: 84.66 kB / 0.5376 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.3431, allocations: 5.094 kB / 0.5376 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.3432, allocations: 5.172 kB / 0.5376 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.3432, allocations: 8.156 kB / 0.5376 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002136/0.3434, allocations: 176.8 kB / 0.5378 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000256/0.3437, allocations: 286.1 kB / 0.5381 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.51e-05/0.3438, allocations: 25.92 kB / 0.5381 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.3439, allocations: 152 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.3439, allocations: 0 / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.3453, allocations: 481.9 kB / 0.5387 GB, free: 7.887 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005847/0.3459, allocations: 0.6692 MB / 0.5393 GB, free: 7.234 MB / 398.1 MB Notification: Performance of Templates: time 0.004347/0.3503, allocations: 1.788 MB / 0.5411 GB, free: 6.336 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches