Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001701/0.001701, allocations: 198.1 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.6 MB / 243.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007912/0.0007913, allocations: 100.8 kB / 295.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3327/0.3327, allocations: 44.83 MB / 392.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002988, allocations: 11.98 kB / 465.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3494, allocations: 62.96 MB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001541/0.351, allocations: 1.288 MB / 0.5171 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006752/0.3517, allocations: 497.7 kB / 0.5176 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.3517, allocations: 2.719 kB / 0.5176 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.3519, allocations: 26.59 kB / 0.5176 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.3521, allocations: 61.38 kB / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.3523, allocations: 78.02 kB / 0.5178 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3525, allocations: 60.83 kB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.3526, allocations: 21.67 kB / 0.5178 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.3526, allocations: 13.75 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.3527, allocations: 23.72 kB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3527, allocations: 0 / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.3528, allocations: 31.23 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.3528, allocations: 13.66 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.3529, allocations: 47.84 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.353, allocations: 62.97 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.353, allocations: 0 / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.353, allocations: 4 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.353, allocations: 0 / 0.518 GB, free: 35.73 MB / 378.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.0003454/0.3533, allocations: 375.5 kB / 0.5184 GB, free: 35.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.3534, allocations: 9.5 kB / 0.5184 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.3534, allocations: 20.45 kB / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3536, allocations: 197.7 kB / 0.5186 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3536, allocations: 384 / 0.5186 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.3536, allocations: 6.812 kB / 0.5186 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.3537, allocations: 51.61 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3537, allocations: 0 / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3538, allocations: 3.938 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3538, allocations: 0 / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.3539, allocations: 27.59 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.3541, allocations: 282.3 kB / 0.519 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.3543, allocations: 47.78 kB / 0.519 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.3544, allocations: 20.64 kB / 0.519 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3544, allocations: 0 / 0.519 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.3544, allocations: 30.56 kB / 0.5191 GB, free: 34.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.3544, allocations: 4 kB / 0.5191 GB, free: 34.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000491/0.3549, allocations: 155.5 kB / 0.5192 GB, free: 34.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.355, allocations: 58.44 kB / 0.5193 GB, free: 34.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.3551, allocations: 179.2 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.3551, allocations: 25.7 kB / 0.5195 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.3552, allocations: 101.6 kB / 0.5196 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.3552, allocations: 19.7 kB / 0.5196 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.3552, allocations: 3.406 kB / 0.5196 GB, free: 34.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.3552, allocations: 318.2 kB / 0.5199 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.3553, allocations: 26.53 kB / 0.5199 GB, free: 33.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.206e-05/0.3554, allocations: 20.61 kB / 0.5199 GB, free: 33.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.3555, allocations: 61.8 kB / 0.52 GB, free: 33.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3555, allocations: 0 / 0.52 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001721/0.3557, allocations: 88.78 kB / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3557, allocations: 5.812 kB / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3557, allocations: 0 / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3557, allocations: 0 / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.3558, allocations: 17.02 kB / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3558, allocations: 4 kB / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.3559, allocations: 13.44 kB / 0.5201 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3559, allocations: 0 / 0.5201 GB, free: 33.87 MB / 378.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 () * Number of clocked 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 7.58e-05/0.356, allocations: 124 kB / 0.5202 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.356, allocations: 9.625 kB / 0.5202 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.3562, allocations: 106 kB / 0.5203 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3562, allocations: 0 / 0.5203 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3562, allocations: 0 / 0.5203 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3562, allocations: 3.938 kB / 0.5203 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.3566, allocations: 363.2 kB / 0.5207 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3566, allocations: 3.938 kB / 0.5207 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.3567, allocations: 14.81 kB / 0.5207 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3567, allocations: 0 / 0.5207 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3567, allocations: 7.938 kB / 0.5207 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3567, allocations: 0 / 0.5207 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3567, allocations: 0 / 0.5207 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.3569, allocations: 194.2 kB / 0.5209 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.357, allocations: 91.62 kB / 0.521 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.357, allocations: 3.938 kB / 0.521 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.357, allocations: 5.75 kB / 0.521 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.3571, allocations: 14.47 kB / 0.521 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.3571, allocations: 4 kB / 0.521 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.619e-05/0.3572, allocations: 132.4 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3572, allocations: 0 / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.3574, allocations: 17.72 kB / 0.5212 GB, free: 32.98 MB / 378.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 () * Number of clocked 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.0008829/0.3583, allocations: 383.7 kB / 0.5215 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.3585, allocations: 60.97 kB / 0.5216 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3585, allocations: 3.938 kB / 0.5216 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/0.3586, allocations: 31.55 kB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3589, allocations: 13.27 kB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.3592, allocations: 231 kB / 0.5218 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3594, allocations: 0.6967 MB / 0.5225 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.3594, allocations: 13.12 kB / 0.5225 GB, free: 31.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3594, allocations: 0 / 0.5225 GB, free: 31.86 MB / 378.7 MB Notification: Performance of Templates: time 0.002519/0.3619, allocations: 1.447 MB / 0.5239 GB, free: 31.7 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches