Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000982/0.0009825, allocations: 198.7 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000745/0.000745, allocations: 96 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.281/0.281, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002476/0.0002476, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2507, allocations: 63.1 MB / 0.5214 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.001418/0.2521, allocations: 1.359 MB / 0.5227 GB, free: 37.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2532, allocations: 1.418 MB / 0.5241 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.2533, allocations: 0 / 0.5241 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.2534, allocations: 15.78 kB / 0.5241 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.2536, allocations: 72.8 kB / 0.5242 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.2539, allocations: 114.2 kB / 0.5243 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.694e-05/0.254, allocations: 69 kB / 0.5243 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.2541, allocations: 16.16 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.2541, allocations: 22.81 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2542, allocations: 30.61 kB / 0.5244 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2542, allocations: 0 / 0.5244 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.2544, allocations: 94.89 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.2544, allocations: 14 kB / 0.5245 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.2545, allocations: 50.67 kB / 0.5246 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.2546, allocations: 141.5 kB / 0.5247 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2546, allocations: 4 kB / 0.5247 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2547, allocations: 0 / 0.5247 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.2547, allocations: 0 / 0.5247 GB, free: 35.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003164/0.255, allocations: 397.1 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.255, allocations: 9.156 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.2551, allocations: 10.97 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2552, allocations: 196.5 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.2552, allocations: 3.188 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.2552, allocations: 3.531 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.2554, allocations: 79.61 kB / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2554, allocations: 0 / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.2554, allocations: 4 kB / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2554, allocations: 4 kB / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2555, allocations: 46.42 kB / 0.5254 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.2558, allocations: 287.2 kB / 0.5257 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.934e-05/0.2559, allocations: 49.11 kB / 0.5257 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.147e-05/0.256, allocations: 30.55 kB / 0.5258 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.256, allocations: 6.906 kB / 0.5258 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.256, allocations: 30.56 kB / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.256, allocations: 4 kB / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006286/0.2567, allocations: 232.7 kB / 0.526 GB, free: 34.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.2567, allocations: 83.86 kB / 0.5261 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.2568, allocations: 145.5 kB / 0.5262 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.2568, allocations: 29.7 kB / 0.5263 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.2569, allocations: 93.8 kB / 0.5264 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.2569, allocations: 22.5 kB / 0.5264 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.2569, allocations: 11 kB / 0.5264 GB, free: 34.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.547e-05/0.2569, allocations: 313.7 kB / 0.5267 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.257, allocations: 47.69 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.747e-05/0.2571, allocations: 49.16 kB / 0.5268 GB, free: 34.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.2573, allocations: 92.33 kB / 0.5269 GB, free: 34.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2573, allocations: 0 / 0.5269 GB, free: 34.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000231/0.2576, allocations: 133.5 kB / 0.527 GB, free: 34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.2576, allocations: 5.906 kB / 0.527 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2576, allocations: 3.938 kB / 0.527 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2576, allocations: 0 / 0.527 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.2577, allocations: 31.28 kB / 0.527 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2577, allocations: 0 / 0.527 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.2578, allocations: 15.64 kB / 0.5271 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2578, allocations: 2.812 kB / 0.5271 GB, free: 33.98 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.2579, allocations: 118.8 kB / 0.5272 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.2579, allocations: 6.75 kB / 0.5272 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.2582, allocations: 149.5 kB / 0.5273 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2582, allocations: 0 / 0.5273 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2582, allocations: 7 kB / 0.5273 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2582, allocations: 3.938 kB / 0.5273 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.2586, allocations: 412.2 kB / 0.5277 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2586, allocations: 0 / 0.5277 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.555e-05/0.2587, allocations: 24.05 kB / 0.5278 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2587, allocations: 5.969 kB / 0.5278 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2587, allocations: 3.938 kB / 0.5278 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2587, allocations: 0 / 0.5278 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2587, allocations: 0 / 0.5278 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.2589, allocations: 227.2 kB / 0.528 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.259, allocations: 87.89 kB / 0.5281 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.259, allocations: 11.36 kB / 0.5281 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.2591, allocations: 8.844 kB / 0.5281 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.2591, allocations: 5.922 kB / 0.5281 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.2591, allocations: 2.938 kB / 0.5281 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.78e-05/0.2592, allocations: 115.2 kB / 0.5282 GB, free: 33.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.2592, allocations: 0 / 0.5282 GB, free: 33.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.2594, allocations: 46.19 kB / 0.5282 GB, free: 33.06 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008743/0.2603, allocations: 0.5629 MB / 0.5288 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.2606, allocations: 97.38 kB / 0.5289 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2606, allocations: 0 / 0.5289 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.2607, allocations: 48.88 kB / 0.5289 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.261, allocations: 23.41 kB / 0.529 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.2613, allocations: 210.6 kB / 0.5292 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.2614, allocations: 0.6962 MB / 0.5298 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.2614, allocations: 16.8 kB / 0.5299 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.2615, allocations: 16.64 kB / 0.5299 GB, free: 31.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2615, allocations: 0 / 0.5299 GB, free: 31.82 MB / 378.7 MB Notification: Performance of Templates: time 0.003325/0.2648, allocations: 1.827 MB / 0.5317 GB, free: 31.6 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches