Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009008/0.0009009, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007678/0.0007679, allocations: 95.77 kB / 267.1 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3996/0.3996, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.239e-05, allocations: 0 / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.5108, allocations: 86.29 MB / 0.5571 GB, free: 17.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.511, allocations: 73.75 kB / 0.5571 GB, free: 17.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009495/0.5206, allocations: 4.151 MB / 0.5612 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5206, allocations: 0 / 0.5612 GB, free: 15.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.5206, allocations: 0.5469 kB / 0.5612 GB, free: 15.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003291/0.5209, allocations: 401.4 kB / 0.5616 GB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.521, allocations: 8.031 kB / 0.5616 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.521, allocations: 19.25 kB / 0.5616 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.5213, allocations: 211.2 kB / 0.5618 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.5213, allocations: 4 kB / 0.5618 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.5213, allocations: 7.906 kB / 0.5618 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5215, allocations: 47.17 kB / 0.5619 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.5215, allocations: 0 / 0.5619 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.5215, allocations: 1.375 kB / 0.5619 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5215, allocations: 0 / 0.5619 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.56e-05/0.5216, allocations: 16.19 kB / 0.5619 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.5219, allocations: 302.1 kB / 0.5622 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.5221, allocations: 38.73 kB / 0.5622 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.5221, allocations: 8.859 kB / 0.5622 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.5222, allocations: 2.938 kB / 0.5622 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.5222, allocations: 43.34 kB / 0.5623 GB, free: 13.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5222, allocations: 0 / 0.5623 GB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003921/0.5226, allocations: 118.9 kB / 0.5624 GB, free: 13.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.5226, allocations: 55.34 kB / 0.5624 GB, free: 13.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.5229, allocations: 240 kB / 0.5627 GB, free: 13.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.5229, allocations: 29.2 kB / 0.5627 GB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.5229, allocations: 109.4 kB / 0.5628 GB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.5229, allocations: 20.86 kB / 0.5628 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.523, allocations: 0 / 0.5628 GB, free: 13.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.523, allocations: 323.3 kB / 0.5631 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.5231, allocations: 11.62 kB / 0.5631 GB, free: 13.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.591e-05/0.5231, allocations: 11.69 kB / 0.5631 GB, free: 13.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.5231, allocations: 11.61 kB / 0.5631 GB, free: 13.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5231, allocations: 0 / 0.5631 GB, free: 13.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.281e-05/0.5232, allocations: 67.39 kB / 0.5632 GB, free: 13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5232, allocations: 9.094 kB / 0.5632 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5232, allocations: 0 / 0.5632 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5233, allocations: 0 / 0.5632 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.5233, allocations: 19.41 kB / 0.5632 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5233, allocations: 7.953 kB / 0.5632 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.5234, allocations: 8.906 kB / 0.5633 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.5234, allocations: 0 / 0.5633 GB, free: 12.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.5235, allocations: 107.5 kB / 0.5634 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.5235, allocations: 11.81 kB / 0.5634 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.5236, allocations: 84.86 kB / 0.5634 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5237, allocations: 5.25 kB / 0.5635 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5237, allocations: 0 / 0.5635 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5237, allocations: 9.016 kB / 0.5635 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.524, allocations: 362.8 kB / 0.5638 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.524, allocations: 4 kB / 0.5638 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.5241, allocations: 10.44 kB / 0.5638 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5241, allocations: 4 kB / 0.5638 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5241, allocations: 5.797 kB / 0.5638 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5241, allocations: 3.953 kB / 0.5638 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5241, allocations: 0 / 0.5638 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.5242, allocations: 173.2 kB / 0.564 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.5243, allocations: 96.02 kB / 0.5641 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.5243, allocations: 3.188 kB / 0.5641 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.5244, allocations: 10.98 kB / 0.5641 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.5244, allocations: 9.453 kB / 0.5641 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.5244, allocations: 0 / 0.5641 GB, free: 12.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.5246, allocations: 202.4 kB / 0.5643 GB, free: 11.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5246, allocations: 0 / 0.5643 GB, free: 11.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.5248, allocations: 21.45 kB / 0.5643 GB, free: 11.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008024/0.5256, allocations: 366.1 kB / 0.5647 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.782e-05/0.5257, allocations: 32.56 kB / 0.5647 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5257, allocations: 0 / 0.5647 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.682e-05/0.5258, allocations: 12.84 kB / 0.5647 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.526, allocations: 14.62 kB / 0.5647 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.5263, allocations: 219.4 kB / 0.5649 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.5265, allocations: 0.7187 MB / 0.5656 GB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.506e-05/0.5266, allocations: 13.77 kB / 0.5657 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.5266, allocations: 15.44 kB / 0.5657 GB, free: 10.68 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5266, allocations: 4 kB / 0.5657 GB, free: 10.67 MB / 394.7 MB Notification: Performance of Templates: time 0.003477/0.5301, allocations: 1.268 MB / 0.5669 GB, free: 9.918 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches