Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008715/0.0008715, allocations: 169.9 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.6 MB / 222.4 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000749/0.0007489, allocations: 90.14 kB / 270.8 MB, free: 8.133 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3338/0.3338, allocations: 43.67 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003094, allocations: 8 kB / 432.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 58.84 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00169/0.1027, allocations: 1.309 MB / 492.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000618/0.1033, allocations: 416.9 kB / 492.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.1033, allocations: 0 / 492.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.1039, allocations: 451.2 kB / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1042, allocations: 243.6 kB / 493.6 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1045, allocations: 143.7 kB / 493.7 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1047, allocations: 155.6 kB / 493.8 MB, free: 7.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1049, allocations: 24.44 kB / 493.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.56e-05/0.105, allocations: 103.8 kB / 494 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1052, allocations: 207.6 kB / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1052, allocations: 0 / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.1053, allocations: 27.98 kB / 494.2 MB, free: 6.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.1054, allocations: 79.7 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.1055, allocations: 124.7 kB / 494.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1057, allocations: 242.9 kB / 494.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1057, allocations: 7.938 kB / 494.6 MB, free: 6.523 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1057, allocations: 0 / 494.6 MB, free: 6.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1058, allocations: 0 / 494.6 MB, free: 6.523 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.0005991/0.1064, allocations: 0.5872 MB / 495.2 MB, free: 5.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1064, allocations: 8.031 kB / 495.2 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.1065, allocations: 40.47 kB / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1067, allocations: 296.1 kB / 495.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1067, allocations: 4.375 kB / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.1068, allocations: 384 / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1069, allocations: 61.61 kB / 495.6 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1069, allocations: 0 / 495.6 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1069, allocations: 3.938 kB / 495.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.107, allocations: 8 kB / 495.6 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1071, allocations: 39.95 kB / 495.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.1075, allocations: 392.6 kB / 496.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1077, allocations: 54.48 kB / 496.1 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.1078, allocations: 16.86 kB / 496.1 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1078, allocations: 4 kB / 496.1 MB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1078, allocations: 34.64 kB / 496.2 MB, free: 4.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1079, allocations: 0 / 496.2 MB, free: 4.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006063/0.1085, allocations: 252 kB / 496.4 MB, free: 4.574 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.1085, allocations: 51.41 kB / 496.5 MB, free: 4.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.1093, allocations: 0.8574 MB / 497.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1093, allocations: 41.64 kB / 497.4 MB, free: 3.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.1095, allocations: 216.1 kB / 497.6 MB, free: 3.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.1095, allocations: 11.8 kB / 497.6 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.1095, allocations: 4 kB / 497.6 MB, free: 3.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1097, allocations: 358.8 kB / 497.9 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.1098, allocations: 23.98 kB / 498 MB, free: 2.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.1098, allocations: 27.98 kB / 498 MB, free: 2.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.11, allocations: 60.81 kB / 498.1 MB, free: 2.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.11, allocations: 0 / 498.1 MB, free: 2.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002034/0.1102, allocations: 133 kB / 498.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1102, allocations: 8 kB / 498.2 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1102, allocations: 0 / 498.2 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1103, allocations: 0 / 498.2 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.1103, allocations: 15.98 kB / 498.2 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1103, allocations: 0 / 498.2 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.1104, allocations: 15.92 kB / 498.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1104, allocations: 4.281 kB / 498.2 MB, free: 2.715 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.0001738/0.1106, allocations: 213.7 kB / 498.4 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.1107, allocations: 39.44 kB / 498.5 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.1109, allocations: 161.2 kB / 498.6 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.111, allocations: 4 kB / 498.6 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.111, allocations: 0 / 498.6 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.111, allocations: 3.938 kB / 498.6 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.1115, allocations: 470.5 kB / 499.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1115, allocations: 0 / 499.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.1116, allocations: 23.92 kB / 499.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1116, allocations: 3.938 kB / 499.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1116, allocations: 3.938 kB / 499.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1116, allocations: 0 / 499.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1116, allocations: 0 / 499.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1118, allocations: 231 kB / 499.4 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.1119, allocations: 104.6 kB / 499.5 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1119, allocations: 3.938 kB / 499.5 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.112, allocations: 7.984 kB / 499.5 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1121, allocations: 4 kB / 499.5 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.1121, allocations: 4 kB / 499.5 MB, free: 1.352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005406/0.1126, allocations: 0.6433 MB / 0.4884 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1126, allocations: 4 kB / 0.4884 GB, free: 0.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.1129, allocations: 23.98 kB / 0.4884 GB, free: 0.6836 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.000824/0.1137, allocations: 462.6 kB / 0.4889 GB, free: 360 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1139, allocations: 59.97 kB / 0.4889 GB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1139, allocations: 4 kB / 0.4889 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.114, allocations: 31.92 kB / 0.489 GB, free: 264 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1143, allocations: 25.95 kB / 0.489 GB, free: 236 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1612/0.2755, allocations: 0.8786 MB / 0.4898 GB, free: 43.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.2758, allocations: 0.8256 MB / 0.4906 GB, free: 42.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.053e-05/0.2759, allocations: 15.25 kB / 0.4907 GB, free: 42.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.2759, allocations: 13.95 kB / 0.4907 GB, free: 42.69 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2759, allocations: 3.938 kB / 0.4907 GB, free: 42.69 MB / 378.7 MB Notification: Performance of Templates: time 0.004293/0.2802, allocations: 1.349 MB / 0.492 GB, free: 42.64 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches