Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 192.2 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007333/0.0007335, allocations: 96.09 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2894/0.2894, allocations: 45 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.0002381, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2549, allocations: 63.09 MB / 0.5214 GB, free: 38.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.001413/0.2563, allocations: 1.353 MB / 0.5227 GB, free: 37.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2575, allocations: 1.441 MB / 0.5241 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.2576, allocations: 0 / 0.5241 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.2577, allocations: 23.84 kB / 0.5241 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.2579, allocations: 71.81 kB / 0.5242 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.2582, allocations: 158 kB / 0.5243 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.2583, allocations: 70.89 kB / 0.5244 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.344e-05/0.2584, allocations: 20.7 kB / 0.5244 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.615e-05/0.2585, allocations: 24.36 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.2586, allocations: 33.59 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.2586, allocations: 2.875 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.2587, allocations: 83.95 kB / 0.5246 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.2588, allocations: 13.25 kB / 0.5246 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.2588, allocations: 54.75 kB / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.259, allocations: 144 kB / 0.5248 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.259, allocations: 2.844 kB / 0.5248 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.259, allocations: 4 kB / 0.5248 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.259, allocations: 0 / 0.5248 GB, free: 35.96 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.0003499/0.2594, allocations: 395 kB / 0.5252 GB, free: 35.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.2594, allocations: 8.531 kB / 0.5252 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.2595, allocations: 11.91 kB / 0.5252 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2596, allocations: 196.3 kB / 0.5254 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2596, allocations: 3.281 kB / 0.5254 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2596, allocations: 7.438 kB / 0.5254 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2598, allocations: 86.2 kB / 0.5254 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2598, allocations: 0 / 0.5254 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2598, allocations: 3.031 kB / 0.5255 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2598, allocations: 0 / 0.5255 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.26, allocations: 49.41 kB / 0.5255 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.2603, allocations: 314.1 kB / 0.5258 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.2604, allocations: 58.92 kB / 0.5259 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.2605, allocations: 29.75 kB / 0.5259 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.2605, allocations: 6.906 kB / 0.5259 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.2605, allocations: 30.56 kB / 0.5259 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.2605, allocations: 7.984 kB / 0.5259 GB, free: 34.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006414/0.2612, allocations: 265.9 kB / 0.5262 GB, free: 34.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.2612, allocations: 77.11 kB / 0.5263 GB, free: 34.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.2613, allocations: 151 kB / 0.5264 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.2613, allocations: 28.33 kB / 0.5264 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.2613, allocations: 98.17 kB / 0.5265 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.2614, allocations: 22.47 kB / 0.5265 GB, free: 34.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.2614, allocations: 0 / 0.5265 GB, free: 34.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.2614, allocations: 320.9 kB / 0.5268 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2615, allocations: 50.48 kB / 0.5269 GB, free: 34.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.2616, allocations: 61.62 kB / 0.527 GB, free: 34.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.2618, allocations: 103.6 kB / 0.5271 GB, free: 34.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2618, allocations: 3.375 kB / 0.5271 GB, free: 34.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002343/0.2621, allocations: 140.2 kB / 0.5272 GB, free: 33.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.2621, allocations: 5.438 kB / 0.5272 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2621, allocations: 0 / 0.5272 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.2621, allocations: 0 / 0.5272 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.2622, allocations: 25.95 kB / 0.5272 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2622, allocations: 3.188 kB / 0.5272 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.2623, allocations: 22.56 kB / 0.5272 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2623, allocations: 4 kB / 0.5272 GB, free: 33.96 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.216e-05/0.2624, allocations: 121.9 kB / 0.5274 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.2624, allocations: 6.531 kB / 0.5274 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.2627, allocations: 156.6 kB / 0.5275 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2627, allocations: 2.953 kB / 0.5275 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2627, allocations: 0 / 0.5275 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2627, allocations: 7.938 kB / 0.5275 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.2631, allocations: 428.5 kB / 0.5279 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2631, allocations: 0 / 0.5279 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.423e-05/0.2632, allocations: 22.25 kB / 0.528 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2632, allocations: 3.938 kB / 0.528 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2632, allocations: 7.938 kB / 0.528 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2632, allocations: 0 / 0.528 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2633, allocations: 2.906 kB / 0.528 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.2635, allocations: 236.8 kB / 0.5282 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.2635, allocations: 87.27 kB / 0.5283 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.2636, allocations: 10.75 kB / 0.5283 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.2636, allocations: 15.66 kB / 0.5283 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.2637, allocations: 6.469 kB / 0.5283 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.2637, allocations: 3.125 kB / 0.5283 GB, free: 33.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.774e-05/0.2638, allocations: 116.2 kB / 0.5284 GB, free: 33.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2638, allocations: 0 / 0.5284 GB, free: 33.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.264, allocations: 44.39 kB / 0.5285 GB, free: 33.03 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.0008679/0.2649, allocations: 0.5583 MB / 0.529 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.2651, allocations: 98.5 kB / 0.5291 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2652, allocations: 4 kB / 0.5291 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.2653, allocations: 59.17 kB / 0.5292 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2655, allocations: 15.38 kB / 0.5292 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.2659, allocations: 238.1 kB / 0.5294 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.266, allocations: 0.6983 MB / 0.5301 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.2661, allocations: 22.44 kB / 0.5301 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.2661, allocations: 23.45 kB / 0.5301 GB, free: 31.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2661, allocations: 3.938 kB / 0.5301 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Templates: time 0.003348/0.2695, allocations: 1.852 MB / 0.5319 GB, free: 31.55 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches