Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009192/0.000919, allocations: 198.2 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.457/1.457, allocations: 226.5 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000763/0.000763, allocations: 100.1 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3628/0.3628, allocations: 44.83 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003022, allocations: 11.98 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3441, allocations: 62.97 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00223/0.3464, allocations: 1.666 MB / 0.5175 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3482, allocations: 1.245 MB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.3484, allocations: 6.531 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3487, allocations: 46.22 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.3493, allocations: 177.8 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3506, allocations: 0.5413 MB / 0.5195 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.351, allocations: 266.3 kB / 0.5197 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.3512, allocations: 71.42 kB / 0.5198 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.3515, allocations: 114.9 kB / 0.5199 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.3518, allocations: 166.6 kB / 0.5201 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.3518, allocations: 5.875 kB / 0.5201 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.352, allocations: 53.03 kB / 0.5201 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3522, allocations: 134.3 kB / 0.5203 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.3523, allocations: 168.1 kB / 0.5204 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.3526, allocations: 286.3 kB / 0.5207 GB, free: 34.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3527, allocations: 4 kB / 0.5207 GB, free: 34.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3527, allocations: 0 / 0.5207 GB, free: 34.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.3527, allocations: 0 / 0.5207 GB, free: 34.41 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008382/0.3535, allocations: 0.7045 MB / 0.5214 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3536, allocations: 8.469 kB / 0.5214 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.3538, allocations: 79.48 kB / 0.5215 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.3543, allocations: 461.5 kB / 0.5219 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3543, allocations: 9.844 kB / 0.5219 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.3544, allocations: 16.5 kB / 0.5219 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.3546, allocations: 150.7 kB / 0.5221 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3546, allocations: 3.469 kB / 0.5221 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3547, allocations: 4 kB / 0.5221 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3547, allocations: 2.875 kB / 0.5221 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.3549, allocations: 111.5 kB / 0.5222 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.3557, allocations: 0.6921 MB / 0.5229 GB, free: 32.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.3559, allocations: 114.5 kB / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.95e-05/0.356, allocations: 47.84 kB / 0.523 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.356, allocations: 14.77 kB / 0.523 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.3561, allocations: 34.5 kB / 0.5231 GB, free: 32.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.3561, allocations: 0 / 0.5231 GB, free: 32.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00132/0.3574, allocations: 0.5835 MB / 0.5236 GB, free: 32.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.3574, allocations: 77.11 kB / 0.5237 GB, free: 32.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000862/0.3583, allocations: 0.8948 MB / 0.5246 GB, free: 32.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3583, allocations: 28.48 kB / 0.5246 GB, free: 32.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3585, allocations: 259.8 kB / 0.5249 GB, free: 31.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.3585, allocations: 47.52 kB / 0.5249 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.3585, allocations: 10.81 kB / 0.5249 GB, free: 31.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.3586, allocations: 372.2 kB / 0.5253 GB, free: 31.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.3588, allocations: 73.03 kB / 0.5253 GB, free: 31.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.359, allocations: 101.6 kB / 0.5254 GB, free: 31.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.3593, allocations: 169.4 kB / 0.5256 GB, free: 31.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3593, allocations: 0 / 0.5256 GB, free: 31.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004304/0.3597, allocations: 263.7 kB / 0.5258 GB, free: 31.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3598, allocations: 6.125 kB / 0.5259 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3598, allocations: 0 / 0.5259 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3598, allocations: 3.938 kB / 0.5259 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.36, allocations: 42.94 kB / 0.5259 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.36, allocations: 2.344 kB / 0.5259 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.3601, allocations: 22.69 kB / 0.5259 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.3602, allocations: 7 kB / 0.5259 GB, free: 31.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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 0.0001759/0.3603, allocations: 217.2 kB / 0.5261 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.3604, allocations: 51.19 kB / 0.5262 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005382/0.361, allocations: 309.8 kB / 0.5265 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.361, allocations: 2.812 kB / 0.5265 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.361, allocations: 0 / 0.5265 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.361, allocations: 4 kB / 0.5265 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009672/0.362, allocations: 0.8169 MB / 0.5273 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.362, allocations: 0 / 0.5273 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.3622, allocations: 43.69 kB / 0.5273 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3622, allocations: 3.422 kB / 0.5273 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3622, allocations: 6.844 kB / 0.5273 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3622, allocations: 3.938 kB / 0.5273 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3622, allocations: 2.969 kB / 0.5273 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.3627, allocations: 436.7 kB / 0.5278 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3628, allocations: 148.9 kB / 0.5279 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.3628, allocations: 2.688 kB / 0.5279 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.363, allocations: 18.86 kB / 0.5279 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.3631, allocations: 15.41 kB / 0.5279 GB, free: 29.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3631, allocations: 9.031 kB / 0.5279 GB, free: 29.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006043/0.3637, allocations: 0.6602 MB / 0.5286 GB, free: 29.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3637, allocations: 0 / 0.5286 GB, free: 29.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.3641, allocations: 61.98 kB / 0.5286 GB, free: 29.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0008388/0.3649, allocations: 396.2 kB / 0.529 GB, free: 29.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004131/0.3653, allocations: 178.4 kB / 0.5292 GB, free: 29.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3654, allocations: 0 / 0.5292 GB, free: 29.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.3655, allocations: 104.4 kB / 0.5293 GB, free: 29.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.3661, allocations: 76.02 kB / 0.5294 GB, free: 29.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3674, allocations: 1.011 MB / 0.5304 GB, free: 28.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.3677, allocations: 0.8678 MB / 0.5312 GB, free: 28.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3678, allocations: 42.97 kB / 0.5312 GB, free: 28.12 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3678, allocations: 0 / 0.5312 GB, free: 28.12 MB / 378.7 MB Notification: Performance of Templates: time 0.009449/0.3772, allocations: 5.68 MB / 0.5368 GB, free: 27.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches