Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 198.8 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.402/1.402, allocations: 226.5 MB / 243.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 101.9 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4157/0.4157, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3442, allocations: 62.96 MB / 0.5159 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.001932/0.3462, allocations: 1.726 MB / 0.5176 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3476, allocations: 1.162 MB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.3477, allocations: 0 / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.348, allocations: 35.7 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.3483, allocations: 182.1 kB / 0.5189 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007575/0.3491, allocations: 403.9 kB / 0.5193 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.3493, allocations: 266.5 kB / 0.5195 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3495, allocations: 65.41 kB / 0.5196 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.3497, allocations: 121.2 kB / 0.5197 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.3499, allocations: 171.9 kB / 0.5199 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.3499, allocations: 9.938 kB / 0.5199 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.35, allocations: 54.36 kB / 0.5199 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.3502, allocations: 135.9 kB / 0.5201 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.3503, allocations: 169.1 kB / 0.5202 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.3505, allocations: 301.2 kB / 0.5205 GB, free: 34.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3505, allocations: 0 / 0.5205 GB, free: 34.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3505, allocations: 0 / 0.5205 GB, free: 34.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3506, allocations: 0 / 0.5205 GB, free: 34.49 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.0007554/0.3513, allocations: 0.7185 MB / 0.5212 GB, free: 33.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3514, allocations: 10.72 kB / 0.5212 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/0.3517, allocations: 98.27 kB / 0.5213 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.3522, allocations: 468.3 kB / 0.5218 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3522, allocations: 7.062 kB / 0.5218 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.3522, allocations: 16.31 kB / 0.5218 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.3525, allocations: 152.8 kB / 0.5219 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3525, allocations: 11.12 kB / 0.522 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3525, allocations: 6.688 kB / 0.522 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3526, allocations: 2.688 kB / 0.522 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.3528, allocations: 121 kB / 0.5221 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.3536, allocations: 0.6696 MB / 0.5227 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.3538, allocations: 129.9 kB / 0.5229 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.354, allocations: 70.62 kB / 0.5229 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.354, allocations: 6.984 kB / 0.5229 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.354, allocations: 37.16 kB / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.354, allocations: 0 / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001678/0.3557, allocations: 0.7513 MB / 0.5237 GB, free: 32.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.3557, allocations: 79.95 kB / 0.5238 GB, free: 32.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.3565, allocations: 0.8825 MB / 0.5246 GB, free: 32.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3565, allocations: 32.58 kB / 0.5247 GB, free: 32.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.3567, allocations: 260.3 kB / 0.5249 GB, free: 31.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.3567, allocations: 71.58 kB / 0.525 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.3567, allocations: 0 / 0.525 GB, free: 31.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.3568, allocations: 380 kB / 0.5253 GB, free: 31.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3571, allocations: 100.8 kB / 0.5254 GB, free: 31.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.3573, allocations: 128.4 kB / 0.5256 GB, free: 31.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.3578, allocations: 243.6 kB / 0.5258 GB, free: 31.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3578, allocations: 3 kB / 0.5258 GB, free: 31.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000573/0.3584, allocations: 331 kB / 0.5261 GB, free: 31.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3584, allocations: 5.594 kB / 0.5261 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3584, allocations: 2.938 kB / 0.5261 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3584, allocations: 0 / 0.5261 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.3587, allocations: 68.05 kB / 0.5262 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3587, allocations: 224 / 0.5262 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.3589, allocations: 30.67 kB / 0.5262 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.3589, allocations: 13.11 kB / 0.5262 GB, free: 31.17 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.0001593/0.3591, allocations: 209.2 kB / 0.5264 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.3592, allocations: 60.38 kB / 0.5265 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006984/0.3599, allocations: 383.8 kB / 0.5269 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3599, allocations: 3.375 kB / 0.5269 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3599, allocations: 8 kB / 0.5269 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3599, allocations: 0 / 0.5269 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.361, allocations: 0.918 MB / 0.5278 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3611, allocations: 3.984 kB / 0.5278 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.3613, allocations: 64.47 kB / 0.5278 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3613, allocations: 0 / 0.5278 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3613, allocations: 5.922 kB / 0.5278 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3613, allocations: 6.75 kB / 0.5278 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3613, allocations: 4 kB / 0.5278 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005926/0.3619, allocations: 0.5048 MB / 0.5283 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3621, allocations: 148.1 kB / 0.5285 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.3621, allocations: 6.969 kB / 0.5285 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.3623, allocations: 33.81 kB / 0.5285 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.3624, allocations: 15.48 kB / 0.5285 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3624, allocations: 9.812 kB / 0.5285 GB, free: 29.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005582/0.363, allocations: 0.6487 MB / 0.5292 GB, free: 29.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.363, allocations: 4 kB / 0.5292 GB, free: 29.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.3633, allocations: 63.91 kB / 0.5292 GB, free: 29.61 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.0008121/0.3642, allocations: 402.5 kB / 0.5296 GB, free: 29.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.3647, allocations: 249.1 kB / 0.5299 GB, free: 29.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3647, allocations: 0 / 0.5299 GB, free: 29.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.365, allocations: 146.5 kB / 0.53 GB, free: 29.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.3656, allocations: 70.69 kB / 0.5301 GB, free: 29.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.3668, allocations: 1.034 MB / 0.5311 GB, free: 28.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3671, allocations: 0.8616 MB / 0.5319 GB, free: 28.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3672, allocations: 49.77 kB / 0.532 GB, free: 28 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3672, allocations: 0 / 0.532 GB, free: 28 MB / 378.7 MB Notification: Performance of Templates: time 0.008437/0.3756, allocations: 5.867 MB / 0.5377 GB, free: 27.34 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches