Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 199.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007005/0.0007005, allocations: 97.52 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2708/0.2708, allocations: 45.01 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002365/0.0002366, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2713, allocations: 63.1 MB / 0.5214 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001647/0.273, allocations: 1.356 MB / 0.5227 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2745, allocations: 1.441 MB / 0.5241 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.2746, allocations: 0 / 0.5241 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.2748, allocations: 25.5 kB / 0.5241 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.275, allocations: 71.91 kB / 0.5242 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.2754, allocations: 161.1 kB / 0.5243 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.2756, allocations: 74.34 kB / 0.5244 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.2757, allocations: 19.84 kB / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.2757, allocations: 23.05 kB / 0.5245 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2758, allocations: 36.44 kB / 0.5245 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2759, allocations: 2.719 kB / 0.5245 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.276, allocations: 83.14 kB / 0.5246 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.2761, allocations: 13.39 kB / 0.5246 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.2761, allocations: 54.94 kB / 0.5246 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.2764, allocations: 141.8 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2764, allocations: 0 / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2764, allocations: 0 / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.2764, allocations: 4 kB / 0.5248 GB, free: 35.82 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.0003874/0.2768, allocations: 399.4 kB / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2769, allocations: 8.594 kB / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.2769, allocations: 7.594 kB / 0.5252 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.2771, allocations: 198.2 kB / 0.5254 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2771, allocations: 4.312 kB / 0.5254 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.2771, allocations: 3.406 kB / 0.5254 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2773, allocations: 92.17 kB / 0.5255 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2773, allocations: 0 / 0.5255 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2773, allocations: 6.969 kB / 0.5255 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2773, allocations: 0 / 0.5255 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.2775, allocations: 47.55 kB / 0.5255 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.2778, allocations: 320.8 kB / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.2779, allocations: 49.98 kB / 0.5259 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.278, allocations: 31.48 kB / 0.5259 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.278, allocations: 2.844 kB / 0.5259 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.278, allocations: 30.56 kB / 0.5259 GB, free: 34.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.2781, allocations: 0 / 0.5259 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000711/0.2788, allocations: 265.6 kB / 0.5262 GB, free: 34.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.2788, allocations: 80.17 kB / 0.5263 GB, free: 34.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.2789, allocations: 146.3 kB / 0.5264 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.2789, allocations: 25.7 kB / 0.5264 GB, free: 34.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.279, allocations: 104.9 kB / 0.5265 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.279, allocations: 22.38 kB / 0.5265 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.279, allocations: 0 / 0.5265 GB, free: 34.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.981e-05/0.279, allocations: 320.9 kB / 0.5269 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.2792, allocations: 45.84 kB / 0.5269 GB, free: 33.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.2793, allocations: 67.39 kB / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.2795, allocations: 105.5 kB / 0.5271 GB, free: 33.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.2795, allocations: 0 / 0.5271 GB, free: 33.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002438/0.2797, allocations: 143.6 kB / 0.5272 GB, free: 33.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2798, allocations: 5.25 kB / 0.5272 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2798, allocations: 0 / 0.5272 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2798, allocations: 3.281 kB / 0.5272 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2799, allocations: 20.72 kB / 0.5272 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2799, allocations: 6.531 kB / 0.5272 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.28, allocations: 19.83 kB / 0.5272 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.28, allocations: 2.938 kB / 0.5273 GB, free: 33.82 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.487e-05/0.28, allocations: 115.6 kB / 0.5274 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.2801, allocations: 9.969 kB / 0.5274 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.2804, allocations: 155.7 kB / 0.5275 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2804, allocations: 7.375 kB / 0.5275 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2804, allocations: 0 / 0.5275 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2804, allocations: 3.938 kB / 0.5275 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.2808, allocations: 429.4 kB / 0.5279 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2808, allocations: 2.844 kB / 0.5279 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.2809, allocations: 24.56 kB / 0.528 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2809, allocations: 0 / 0.528 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2809, allocations: 10.2 kB / 0.528 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2809, allocations: 4 kB / 0.528 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2809, allocations: 0 / 0.528 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.2812, allocations: 238.4 kB / 0.5282 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.2812, allocations: 88.08 kB / 0.5283 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2813, allocations: 7.359 kB / 0.5283 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.2814, allocations: 12.75 kB / 0.5283 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.2814, allocations: 10.39 kB / 0.5283 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2814, allocations: 2.75 kB / 0.5283 GB, free: 32.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.158e-05/0.2815, allocations: 114 kB / 0.5284 GB, free: 32.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2815, allocations: 0 / 0.5284 GB, free: 32.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.2817, allocations: 42.52 kB / 0.5285 GB, free: 32.89 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.0009249/0.2827, allocations: 0.5507 MB / 0.529 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.2829, allocations: 110.5 kB / 0.5291 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.283, allocations: 0 / 0.5291 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.2831, allocations: 56.7 kB / 0.5292 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.2834, allocations: 20.19 kB / 0.5292 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.2837, allocations: 231.3 kB / 0.5294 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.2838, allocations: 0.7061 MB / 0.5301 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.249e-05/0.2839, allocations: 20.28 kB / 0.5301 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.284, allocations: 20.59 kB / 0.5301 GB, free: 31.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/0.284, allocations: 3.938 kB / 0.5301 GB, free: 31.63 MB / 378.7 MB Notification: Performance of Templates: time 0.003634/0.2876, allocations: 1.852 MB / 0.532 GB, free: 31.41 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches