Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 192.8 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.246/1.246, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007658/0.0007659, allocations: 100.7 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.3109/0.3109, allocations: 45.01 MB / 397 MB, free: 31.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002604, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2612, allocations: 63.09 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001412/0.2626, allocations: 1.352 MB / 0.5227 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.2633, allocations: 0.7623 MB / 0.5234 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.2634, allocations: 2.875 kB / 0.5234 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.2638, allocations: 452.2 kB / 0.5239 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.2641, allocations: 279.6 kB / 0.5241 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.2644, allocations: 161 kB / 0.5243 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.2646, allocations: 169.5 kB / 0.5244 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.2647, allocations: 24.19 kB / 0.5245 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.2648, allocations: 98.62 kB / 0.5246 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.2649, allocations: 204.1 kB / 0.5248 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.2649, allocations: 4 kB / 0.5248 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.265, allocations: 30.31 kB / 0.5248 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.2651, allocations: 85.44 kB / 0.5249 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.2652, allocations: 126.1 kB / 0.525 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.2654, allocations: 247.4 kB / 0.5252 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2654, allocations: 0 / 0.5252 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2654, allocations: 0 / 0.5252 GB, free: 36.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.2654, allocations: 0 / 0.5252 GB, free: 36.36 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.0004335/0.2658, allocations: 0.5941 MB / 0.5258 GB, free: 35.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2659, allocations: 11.19 kB / 0.5258 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.2659, allocations: 41.41 kB / 0.5259 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.2661, allocations: 303.2 kB / 0.5261 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2661, allocations: 7.312 kB / 0.5262 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.2661, allocations: 384 / 0.5262 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2663, allocations: 61.91 kB / 0.5262 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2663, allocations: 0 / 0.5262 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2663, allocations: 3.281 kB / 0.5262 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2663, allocations: 4 kB / 0.5262 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.96e-05/0.2664, allocations: 26.77 kB / 0.5262 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.2668, allocations: 404.3 kB / 0.5266 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.267, allocations: 49.05 kB / 0.5267 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.267, allocations: 25.11 kB / 0.5267 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.267, allocations: 0 / 0.5267 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.2671, allocations: 37.72 kB / 0.5267 GB, free: 35.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2671, allocations: 0 / 0.5267 GB, free: 35.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004914/0.2676, allocations: 244.6 kB / 0.527 GB, free: 34.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.2676, allocations: 53.81 kB / 0.527 GB, free: 34.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.2682, allocations: 0.863 MB / 0.5279 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.2682, allocations: 29.7 kB / 0.5279 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.2683, allocations: 225.1 kB / 0.5281 GB, free: 34.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.2683, allocations: 26.12 kB / 0.5281 GB, free: 34.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.2683, allocations: 0 / 0.5281 GB, free: 34.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.2684, allocations: 358.5 kB / 0.5285 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.2684, allocations: 28.45 kB / 0.5285 GB, free: 33.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-05/0.2685, allocations: 34.47 kB / 0.5285 GB, free: 33.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.2686, allocations: 63.47 kB / 0.5286 GB, free: 33.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2686, allocations: 0 / 0.5286 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001704/0.2688, allocations: 129 kB / 0.5287 GB, free: 33.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.2688, allocations: 2.938 kB / 0.5287 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2688, allocations: 2.969 kB / 0.5287 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2689, allocations: 0 / 0.5287 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.2689, allocations: 18.06 kB / 0.5287 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2689, allocations: 3.938 kB / 0.5287 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.269, allocations: 9.406 kB / 0.5288 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.269, allocations: 10.83 kB / 0.5288 GB, free: 33.85 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 (5): * Single equations (assignments): 5 * 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 0.0001188/0.2691, allocations: 214.7 kB / 0.529 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.2692, allocations: 43.41 kB / 0.529 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.2694, allocations: 142.8 kB / 0.5291 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2694, allocations: 6.75 kB / 0.5292 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2694, allocations: 0 / 0.5292 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2694, allocations: 3.938 kB / 0.5292 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.2698, allocations: 477.6 kB / 0.5296 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2698, allocations: 0 / 0.5296 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.2699, allocations: 18.42 kB / 0.5296 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2699, allocations: 0 / 0.5296 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2699, allocations: 6.594 kB / 0.5296 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2699, allocations: 0 / 0.5296 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2699, allocations: 0 / 0.5296 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.2701, allocations: 234 kB / 0.5299 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.2701, allocations: 115.4 kB / 0.53 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.2702, allocations: 10.59 kB / 0.53 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.2703, allocations: 5.531 kB / 0.53 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.2703, allocations: 3.141 kB / 0.53 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2703, allocations: 2.969 kB / 0.53 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004216/0.2707, allocations: 0.6518 MB / 0.5306 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2707, allocations: 4 kB / 0.5306 GB, free: 32.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.271, allocations: 28.06 kB / 0.5307 GB, free: 32.69 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 (5): * Single equations (assignments): 5 * 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.0007411/0.2717, allocations: 445.1 kB / 0.5311 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.2719, allocations: 57.3 kB / 0.5311 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2719, allocations: 4 kB / 0.5311 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.272, allocations: 38.28 kB / 0.5312 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.2723, allocations: 29.94 kB / 0.5312 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007607/0.2731, allocations: 0.8829 MB / 0.5321 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.2733, allocations: 0.8307 MB / 0.5329 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.2733, allocations: 18.77 kB / 0.5329 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.2734, allocations: 15.8 kB / 0.5329 GB, free: 31.22 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2734, allocations: 0 / 0.5329 GB, free: 31.22 MB / 378.7 MB Notification: Performance of Templates: time 0.003841/0.2772, allocations: 1.393 MB / 0.5343 GB, free: 31.04 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches