Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009075/0.0009076, allocations: 193.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.214/1.214, allocations: 229.5 MB / 247.7 MB, free: 6.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007556/0.0007556, allocations: 99.91 kB / 299.9 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.309/0.309, allocations: 45.02 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002338/0.0002339, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.271, allocations: 63.09 MB / 0.5214 GB, free: 38.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.001842/0.2729, allocations: 1.687 MB / 0.523 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.2744, allocations: 1.711 MB / 0.5247 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.2745, allocations: 2.781 kB / 0.5247 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.2747, allocations: 45.95 kB / 0.5247 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.275, allocations: 182.7 kB / 0.5249 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009317/0.2759, allocations: 0.5558 MB / 0.5254 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.2762, allocations: 299.2 kB / 0.5257 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.2764, allocations: 66.84 kB / 0.5258 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.2766, allocations: 118.6 kB / 0.5259 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.2767, allocations: 168.7 kB / 0.5261 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.2768, allocations: 9.719 kB / 0.5261 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.2769, allocations: 56.44 kB / 0.5261 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.277, allocations: 128.7 kB / 0.5263 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.2771, allocations: 184.5 kB / 0.5264 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.2774, allocations: 373.6 kB / 0.5268 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2774, allocations: 0 / 0.5268 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2774, allocations: 0 / 0.5268 GB, free: 34.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2774, allocations: 2.75 kB / 0.5268 GB, free: 34.85 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.0006888/0.2781, allocations: 0.7088 MB / 0.5275 GB, free: 34.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2782, allocations: 8.469 kB / 0.5275 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.2784, allocations: 80.11 kB / 0.5276 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.2788, allocations: 456.4 kB / 0.528 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2788, allocations: 7.438 kB / 0.528 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.2789, allocations: 14.05 kB / 0.528 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.2791, allocations: 157.3 kB / 0.5282 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2791, allocations: 0 / 0.5282 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.2791, allocations: 4 kB / 0.5282 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2792, allocations: 3.156 kB / 0.5282 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2794, allocations: 105.4 kB / 0.5283 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.2801, allocations: 0.6942 MB / 0.529 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.2803, allocations: 121.5 kB / 0.5291 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/0.2803, allocations: 51.31 kB / 0.5291 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2804, allocations: 0 / 0.5291 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.2804, allocations: 41.34 kB / 0.5292 GB, free: 33.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.2804, allocations: 0 / 0.5292 GB, free: 33.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001151/0.2816, allocations: 0.5737 MB / 0.5297 GB, free: 32.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.2816, allocations: 87.02 kB / 0.5298 GB, free: 32.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/0.2823, allocations: 0.8901 MB / 0.5307 GB, free: 32.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.2823, allocations: 36.33 kB / 0.5307 GB, free: 32.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2824, allocations: 256.1 kB / 0.531 GB, free: 32.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.2825, allocations: 55.58 kB / 0.531 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.2825, allocations: 3.031 kB / 0.531 GB, free: 32.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.2826, allocations: 373.3 kB / 0.5314 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2827, allocations: 73.34 kB / 0.5314 GB, free: 31.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.2829, allocations: 88.62 kB / 0.5315 GB, free: 31.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.2832, allocations: 180.4 kB / 0.5317 GB, free: 31.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2832, allocations: 0 / 0.5317 GB, free: 31.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004109/0.2836, allocations: 264.4 kB / 0.5319 GB, free: 31.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2836, allocations: 5.25 kB / 0.532 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2836, allocations: 192 / 0.532 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2837, allocations: 4 kB / 0.532 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.2838, allocations: 44.64 kB / 0.532 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2839, allocations: 2.625 kB / 0.532 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.284, allocations: 14.3 kB / 0.532 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.284, allocations: 9.25 kB / 0.532 GB, free: 31.62 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 (16): * Single equations (assignments): 16 * 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.000144/0.2841, allocations: 221.2 kB / 0.5322 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.2842, allocations: 53.81 kB / 0.5323 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005094/0.2847, allocations: 311.6 kB / 0.5326 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2847, allocations: 0 / 0.5326 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2848, allocations: 2.75 kB / 0.5326 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2848, allocations: 0 / 0.5326 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008397/0.2856, allocations: 0.8124 MB / 0.5334 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2856, allocations: 0 / 0.5334 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.2858, allocations: 49.53 kB / 0.5334 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2858, allocations: 3.984 kB / 0.5334 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.2858, allocations: 6.812 kB / 0.5334 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2858, allocations: 6.781 kB / 0.5334 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2858, allocations: 0 / 0.5334 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.2862, allocations: 432.3 kB / 0.5339 GB, free: 30.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.2863, allocations: 149.2 kB / 0.534 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.2864, allocations: 0 / 0.534 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.2865, allocations: 25.67 kB / 0.534 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.2866, allocations: 14.09 kB / 0.534 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2866, allocations: 12.84 kB / 0.534 GB, free: 30.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005333/0.2872, allocations: 0.6496 MB / 0.5347 GB, free: 30.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2872, allocations: 3.938 kB / 0.5347 GB, free: 30.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003018/0.2875, allocations: 63.16 kB / 0.5347 GB, free: 30.13 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 (16): * Single equations (assignments): 16 * 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.000768/0.2883, allocations: 466.2 kB / 0.5352 GB, free: 29.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.2886, allocations: 173.7 kB / 0.5354 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2886, allocations: 0 / 0.5354 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.2888, allocations: 96.69 kB / 0.5354 GB, free: 29.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.2893, allocations: 80.64 kB / 0.5355 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.2904, allocations: 1.071 MB / 0.5366 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2907, allocations: 0.8751 MB / 0.5374 GB, free: 28.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.2909, allocations: 90.58 kB / 0.5375 GB, free: 28.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.291, allocations: 37.06 kB / 0.5375 GB, free: 28.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.291, allocations: 0 / 0.5375 GB, free: 28.44 MB / 378.7 MB Notification: Performance of Templates: time 0.007755/0.2987, allocations: 3.794 MB / 0.5413 GB, free: 28.1 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches