Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 179.9 kB / 16.08 MB, free: 5.531 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.356/1.356, allocations: 205.6 MB / 222.4 MB, free: 13.68 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.0007459/0.0007459, allocations: 94.23 kB / 270.8 MB, free: 13.2 MB / 234.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.1766/0.1766, allocations: 43.68 MB / 362.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002955, allocations: 8 kB / 432.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0991/0.09942, allocations: 58.85 MB / 491.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001902/0.1014, allocations: 1.313 MB / 492.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006713/0.1021, allocations: 417 kB / 492.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.1021, allocations: 0 / 492.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.1027, allocations: 455.1 kB / 493.3 MB, free: 5.941 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.103, allocations: 247.5 kB / 493.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1034, allocations: 135.8 kB / 493.7 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.1037, allocations: 171.7 kB / 493.9 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1038, allocations: 16.27 kB / 493.9 MB, free: 5.383 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1039, allocations: 103.7 kB / 494 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1041, allocations: 203.6 kB / 494.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.1042, allocations: 0 / 494.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.73e-05/0.1043, allocations: 27.98 kB / 494.2 MB, free: 5.055 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1044, allocations: 91.61 kB / 494.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.819e-05/0.1045, allocations: 120.7 kB / 494.4 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.1048, allocations: 246.9 kB / 494.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1048, allocations: 0 / 494.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1048, allocations: 0 / 494.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1048, allocations: 0 / 494.7 MB, free: 4.598 MB / 330.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.0006746/0.1055, allocations: 0.599 MB / 495.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1055, allocations: 8.031 kB / 495.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.1056, allocations: 48.38 kB / 495.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1059, allocations: 292.2 kB / 495.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1059, allocations: 4.375 kB / 495.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.106, allocations: 4.359 kB / 495.6 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1061, allocations: 69.8 kB / 495.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1062, allocations: 0 / 495.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1062, allocations: 4 kB / 495.7 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1062, allocations: 3.984 kB / 495.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.1064, allocations: 43.97 kB / 495.7 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.1069, allocations: 412.6 kB / 496.1 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.107, allocations: 54.55 kB / 496.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.1071, allocations: 32.94 kB / 496.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1071, allocations: 0 / 496.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1072, allocations: 30.56 kB / 496.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1072, allocations: 0 / 496.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008458/0.108, allocations: 343.8 kB / 496.6 MB, free: 2.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1081, allocations: 51.41 kB / 496.6 MB, free: 2.441 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/0.1088, allocations: 0.8496 MB / 497.5 MB, free: 1.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1089, allocations: 25.7 kB / 497.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.109, allocations: 219.9 kB / 497.7 MB, free: 1.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1091, allocations: 27.64 kB / 497.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.1091, allocations: 0 / 497.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1092, allocations: 362.7 kB / 498.1 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1094, allocations: 43.97 kB / 498.1 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1095, allocations: 60.02 kB / 498.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.1097, allocations: 104.7 kB / 498.3 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1098, allocations: 4 kB / 498.3 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003257/0.1101, allocations: 161.2 kB / 498.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1101, allocations: 8 kB / 498.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1101, allocations: 3.938 kB / 498.5 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1101, allocations: 0 / 498.5 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1103, allocations: 31.91 kB / 498.5 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1103, allocations: 0 / 498.5 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.1104, allocations: 11.94 kB / 498.5 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1104, allocations: 4 kB / 498.5 MB, free: 0.5078 MB / 330.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 0.0001721/0.1106, allocations: 217.8 kB / 498.7 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.1106, allocations: 43.44 kB / 498.8 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.111, allocations: 197.7 kB / 499 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.111, allocations: 3.938 kB / 499 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.111, allocations: 0 / 499 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1111, allocations: 7.922 kB / 499 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.1117, allocations: 0.5141 MB / 499.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1117, allocations: 0 / 499.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.1118, allocations: 23.98 kB / 499.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1118, allocations: 0 / 499.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1119, allocations: 11.94 kB / 499.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1119, allocations: 0 / 499.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1119, allocations: 3.938 kB / 499.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.1122, allocations: 274.9 kB / 499.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.1123, allocations: 112.5 kB / 499.9 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1123, allocations: 7.938 kB / 499.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1125, allocations: 12 kB / 499.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1125, allocations: 7.984 kB / 499.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.1125, allocations: 4 kB / 500 MB, free: 14.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005704/0.1131, allocations: 0.6394 MB / 0.4889 GB, free: 14.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1131, allocations: 4 kB / 0.4889 GB, free: 14.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.1134, allocations: 27.98 kB / 0.4889 GB, free: 14.3 MB / 346.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.0008884/0.1142, allocations: 461.6 kB / 0.4893 GB, free: 13.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.1146, allocations: 112.1 kB / 0.4894 GB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1146, allocations: 0 / 0.4894 GB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1148, allocations: 59.97 kB / 0.4895 GB, free: 13.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1151, allocations: 25.94 kB / 0.4895 GB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1162, allocations: 0.8922 MB / 0.4904 GB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1166, allocations: 0.8302 MB / 0.4912 GB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.97e-05/0.1167, allocations: 15.98 kB / 0.4912 GB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.1167, allocations: 19.44 kB / 0.4912 GB, free: 11.97 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1167, allocations: 3.938 kB / 0.4912 GB, free: 11.97 MB / 346.7 MB Notification: Performance of Templates: time 0.004659/0.1214, allocations: 1.441 MB / 0.4926 GB, free: 10.53 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches