Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.001039, 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.52/1.52, allocations: 226.5 MB / 243.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007689/0.0007689, allocations: 94.56 kB / 295.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3304/0.3304, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003503, allocations: 11.98 kB / 465.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3447, allocations: 62.96 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.001829/0.3466, allocations: 1.735 MB / 0.5176 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.348, allocations: 1.258 MB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.3481, allocations: 2.844 kB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.3483, allocations: 45.33 kB / 0.5188 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.3487, allocations: 188.1 kB / 0.519 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009683/0.3497, allocations: 0.5479 MB / 0.5196 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.3499, allocations: 287.1 kB / 0.5198 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3501, allocations: 76.56 kB / 0.5199 GB, free: 34.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.3503, allocations: 131.3 kB / 0.52 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.3505, allocations: 172.9 kB / 0.5202 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.3505, allocations: 12.53 kB / 0.5202 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3506, allocations: 53.22 kB / 0.5203 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.3508, allocations: 135.8 kB / 0.5204 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.3509, allocations: 181.5 kB / 0.5206 GB, free: 34.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.3511, allocations: 303.5 kB / 0.5209 GB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3511, allocations: 4 kB / 0.5209 GB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3511, allocations: 0 / 0.5209 GB, free: 34.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3512, allocations: 3.938 kB / 0.5209 GB, free: 34.02 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.0007265/0.3519, allocations: 0.7245 MB / 0.5216 GB, free: 33.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.3519, allocations: 7.938 kB / 0.5216 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.3523, allocations: 108.5 kB / 0.5217 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.3527, allocations: 475.6 kB / 0.5221 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3528, allocations: 8.969 kB / 0.5221 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.3528, allocations: 17.47 kB / 0.5222 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.3531, allocations: 173.8 kB / 0.5223 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3531, allocations: 3.938 kB / 0.5223 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3531, allocations: 6.969 kB / 0.5223 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3531, allocations: 0 / 0.5223 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.3534, allocations: 137.2 kB / 0.5225 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.3542, allocations: 0.715 MB / 0.5232 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.3545, allocations: 141.1 kB / 0.5233 GB, free: 32.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.3546, allocations: 74.66 kB / 0.5234 GB, free: 32.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.3546, allocations: 14.78 kB / 0.5234 GB, free: 32.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.3547, allocations: 37.25 kB / 0.5234 GB, free: 32.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.3547, allocations: 224 / 0.5234 GB, free: 32.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.00174/0.3564, allocations: 0.8148 MB / 0.5242 GB, free: 31.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.3564, allocations: 84.14 kB / 0.5243 GB, free: 31.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.3572, allocations: 0.8926 MB / 0.5252 GB, free: 31.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3572, allocations: 32.17 kB / 0.5252 GB, free: 31.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3573, allocations: 262.2 kB / 0.5254 GB, free: 31.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.3574, allocations: 63.45 kB / 0.5255 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.3574, allocations: 6.719 kB / 0.5255 GB, free: 31.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.3575, allocations: 375.9 kB / 0.5259 GB, free: 30.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.3578, allocations: 128.5 kB / 0.526 GB, free: 30.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.358, allocations: 147.4 kB / 0.5261 GB, free: 30.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/0.3585, allocations: 284.5 kB / 0.5264 GB, free: 30.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3586, allocations: 0 / 0.5264 GB, free: 30.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006226/0.3592, allocations: 374.9 kB / 0.5268 GB, free: 30.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3592, allocations: 9.906 kB / 0.5268 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3592, allocations: 0 / 0.5268 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3592, allocations: 3 kB / 0.5268 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.3595, allocations: 62.5 kB / 0.5268 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3595, allocations: 0 / 0.5268 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.3597, allocations: 30.53 kB / 0.5269 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3597, allocations: 9.906 kB / 0.5269 GB, free: 30.61 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 (20): * Single equations (assignments): 20 * 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.0001735/0.3599, allocations: 220.8 kB / 0.5271 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.36, allocations: 58.62 kB / 0.5271 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/0.3608, allocations: 433.8 kB / 0.5276 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3608, allocations: 2.594 kB / 0.5276 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3608, allocations: 5.844 kB / 0.5276 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3608, allocations: 0 / 0.5276 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.3619, allocations: 0.9795 MB / 0.5285 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3619, allocations: 3.938 kB / 0.5285 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.3622, allocations: 63.45 kB / 0.5286 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3622, allocations: 0 / 0.5286 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.3622, allocations: 6.906 kB / 0.5286 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.3622, allocations: 14.72 kB / 0.5286 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3622, allocations: 0 / 0.5286 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.3629, allocations: 0.5403 MB / 0.5291 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.363, allocations: 147.5 kB / 0.5293 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.363, allocations: 3.094 kB / 0.5293 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3633, allocations: 33.3 kB / 0.5293 GB, free: 29.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.3633, allocations: 22.97 kB / 0.5293 GB, free: 29.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3634, allocations: 5.906 kB / 0.5293 GB, free: 29.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005171/0.3639, allocations: 0.6541 MB / 0.53 GB, free: 29.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3639, allocations: 0 / 0.53 GB, free: 29.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000327/0.3642, allocations: 77.97 kB / 0.53 GB, free: 29 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 (20): * Single equations (assignments): 20 * 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.0007537/0.365, allocations: 402.9 kB / 0.5304 GB, free: 28.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005695/0.3656, allocations: 286.6 kB / 0.5307 GB, free: 28.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3656, allocations: 0 / 0.5307 GB, free: 28.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.3659, allocations: 163 kB / 0.5309 GB, free: 28.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.3664, allocations: 68.97 kB / 0.5309 GB, free: 28.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3676, allocations: 1.098 MB / 0.532 GB, free: 28.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.3678, allocations: 0.8754 MB / 0.5329 GB, free: 27.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.368, allocations: 44.47 kB / 0.5329 GB, free: 27.34 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.368, allocations: 0 / 0.5329 GB, free: 27.34 MB / 378.7 MB Notification: Performance of Templates: time 0.008791/0.3768, allocations: 6.17 MB / 0.5389 GB, free: 26.66 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches