Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009701/0.0009702, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 226.5 MB / 243.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000997/0.0009974, allocations: 96.03 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3709/0.3709, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003244, allocations: 11.98 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3453, allocations: 62.95 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.001697/0.347, allocations: 1.292 MB / 0.5171 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007321/0.3478, allocations: 0.4953 MB / 0.5176 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.3478, allocations: 3 kB / 0.5176 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.348, allocations: 19.64 kB / 0.5176 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.3483, allocations: 67.89 kB / 0.5177 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.3485, allocations: 97.72 kB / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.3486, allocations: 51.77 kB / 0.5178 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.3487, allocations: 20.42 kB / 0.5179 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.291e-05/0.3488, allocations: 23.8 kB / 0.5179 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.3488, allocations: 24.02 kB / 0.5179 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3488, allocations: 0 / 0.5179 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.3489, allocations: 25.47 kB / 0.5179 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.3489, allocations: 13.05 kB / 0.5179 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.349, allocations: 59.45 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.3491, allocations: 52.52 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3491, allocations: 4 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3491, allocations: 2.938 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.3491, allocations: 0 / 0.5181 GB, free: 35.66 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.0003578/0.3495, allocations: 379.1 kB / 0.5184 GB, free: 35.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3495, allocations: 8.812 kB / 0.5184 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.3496, allocations: 11.56 kB / 0.5184 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3497, allocations: 200.5 kB / 0.5186 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3497, allocations: 384 / 0.5186 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.3498, allocations: 10.84 kB / 0.5186 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.3499, allocations: 51.36 kB / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3499, allocations: 2.781 kB / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3499, allocations: 0 / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3499, allocations: 3.938 kB / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.35, allocations: 31.16 kB / 0.5187 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.3503, allocations: 297.2 kB / 0.519 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3505, allocations: 48.3 kB / 0.5191 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.3506, allocations: 16.11 kB / 0.5191 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3506, allocations: 3.422 kB / 0.5191 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.3506, allocations: 38.56 kB / 0.5191 GB, free: 34.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3507, allocations: 0 / 0.5191 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005002/0.3512, allocations: 166.9 kB / 0.5193 GB, free: 34.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.3512, allocations: 51.41 kB / 0.5193 GB, free: 34.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3514, allocations: 185.8 kB / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.3514, allocations: 25.7 kB / 0.5195 GB, free: 34.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.3514, allocations: 96.77 kB / 0.5196 GB, free: 34.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3514, allocations: 19.52 kB / 0.5196 GB, free: 34.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.3514, allocations: 2.906 kB / 0.5196 GB, free: 34.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.3515, allocations: 321.6 kB / 0.5199 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.3516, allocations: 28.48 kB / 0.52 GB, free: 33.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.3516, allocations: 24.77 kB / 0.52 GB, free: 33.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.3518, allocations: 62.08 kB / 0.5201 GB, free: 33.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3518, allocations: 0 / 0.5201 GB, free: 33.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000159/0.3519, allocations: 94.41 kB / 0.5201 GB, free: 33.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.352, allocations: 3.062 kB / 0.5201 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.352, allocations: 3.031 kB / 0.5201 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.352, allocations: 4 kB / 0.5202 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.352, allocations: 13.77 kB / 0.5202 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3521, allocations: 3.938 kB / 0.5202 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.3521, allocations: 14.92 kB / 0.5202 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.3521, allocations: 0 / 0.5202 GB, free: 33.79 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 5.444e-05/0.3522, allocations: 115.9 kB / 0.5203 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.3522, allocations: 10 kB / 0.5203 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.3524, allocations: 112.2 kB / 0.5204 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3524, allocations: 64 / 0.5204 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3524, allocations: 4 kB / 0.5204 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3524, allocations: 7.875 kB / 0.5204 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.3528, allocations: 367.2 kB / 0.5208 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3528, allocations: 6.781 kB / 0.5208 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.3528, allocations: 14.97 kB / 0.5208 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3529, allocations: 0 / 0.5208 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3529, allocations: 3.938 kB / 0.5208 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3529, allocations: 0 / 0.5208 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3529, allocations: 3.234 kB / 0.5208 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.3531, allocations: 197.3 kB / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.3531, allocations: 87.67 kB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3531, allocations: 3.938 kB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.3532, allocations: 12.91 kB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3532, allocations: 6.266 kB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.3532, allocations: 0 / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.3533, allocations: 131.5 kB / 0.5212 GB, free: 32.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3533, allocations: 0 / 0.5212 GB, free: 32.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002205/0.3536, allocations: 21.95 kB / 0.5212 GB, free: 32.9 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.0007482/0.3543, allocations: 397.7 kB / 0.5216 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.3545, allocations: 57.41 kB / 0.5217 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3545, allocations: 2.906 kB / 0.5217 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.3546, allocations: 38.41 kB / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.3549, allocations: 14.98 kB / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.3552, allocations: 240 kB / 0.522 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.3554, allocations: 0.6982 MB / 0.5226 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.3554, allocations: 17.97 kB / 0.5227 GB, free: 31.76 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3554, allocations: 0 / 0.5227 GB, free: 31.76 MB / 378.7 MB Notification: Performance of Templates: time 0.002484/0.3579, allocations: 1.481 MB / 0.5241 GB, free: 31.6 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches