Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 175.8 kB / 16.07 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.338/1.338, allocations: 205.6 MB / 222.4 MB, free: 13.66 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.0007218/0.0007218, allocations: 86.27 kB / 270.8 MB, free: 13.19 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.1768/0.1768, allocations: 43.69 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 8 kB / 432.3 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09363, allocations: 58.86 MB / 491.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.001823/0.0955, allocations: 1.313 MB / 492.5 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.09681, allocations: 1.077 MB / 493.6 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.09688, allocations: 0 / 493.6 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.09708, allocations: 27.84 kB / 493.6 MB, free: 5.629 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.09725, allocations: 31.91 kB / 493.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.09762, allocations: 139.8 kB / 493.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.09775, allocations: 71.77 kB / 493.8 MB, free: 5.391 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.09786, allocations: 16.27 kB / 493.8 MB, free: 5.375 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.09791, allocations: 15.92 kB / 493.9 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.09803, allocations: 24.88 kB / 493.9 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.09805, allocations: 8 kB / 493.9 MB, free: 5.328 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.09816, allocations: 47.97 kB / 493.9 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.09822, allocations: 15.92 kB / 494 MB, free: 5.266 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.09828, allocations: 45.52 kB / 494 MB, free: 5.215 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.09846, allocations: 103.6 kB / 494.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.09849, allocations: 0 / 494.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0985, allocations: 0 / 494.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.0985, allocations: 0 / 494.1 MB, free: 5.113 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.0004675/0.09898, allocations: 383.3 kB / 494.5 MB, free: 4.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.09903, allocations: 12.03 kB / 494.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.09906, allocations: 4.938 kB / 494.5 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.09925, allocations: 192.2 kB / 494.7 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.09926, allocations: 384 / 494.7 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.09929, allocations: 4.375 kB / 494.7 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.09949, allocations: 83.45 kB / 494.8 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.09951, allocations: 4 kB / 494.8 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.09953, allocations: 4 kB / 494.8 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.09954, allocations: 0 / 494.8 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.09969, allocations: 39.97 kB / 494.8 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.1001, allocations: 308.8 kB / 495.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1002, allocations: 58.48 kB / 495.2 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.1003, allocations: 32.94 kB / 495.2 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1004, allocations: 0 / 495.2 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1004, allocations: 30.56 kB / 495.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.1004, allocations: 0 / 495.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007699/0.1012, allocations: 265.2 kB / 495.5 MB, free: 3.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1012, allocations: 77.11 kB / 495.6 MB, free: 3.453 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1013, allocations: 137.8 kB / 495.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1014, allocations: 29.7 kB / 495.7 MB, free: 3.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.1014, allocations: 96.03 kB / 495.8 MB, free: 3.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1015, allocations: 23.66 kB / 495.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.1015, allocations: 0 / 495.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1016, allocations: 326.8 kB / 496.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1017, allocations: 43.97 kB / 496.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1019, allocations: 65.67 kB / 496.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.1021, allocations: 109 kB / 496.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1021, allocations: 0 / 496.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002927/0.1024, allocations: 137.6 kB / 496.5 MB, free: 2.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1024, allocations: 4 kB / 496.5 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1024, allocations: 0 / 496.5 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1024, allocations: 0 / 496.5 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1026, allocations: 27.97 kB / 496.5 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1026, allocations: 0 / 496.5 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.1027, allocations: 15.84 kB / 496.6 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1027, allocations: 8 kB / 496.6 MB, free: 2.406 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 8.468e-05/0.1028, allocations: 125.8 kB / 496.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.1028, allocations: 4.281 kB / 496.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.1032, allocations: 161.9 kB / 496.9 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1032, allocations: 3.984 kB / 496.9 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1032, allocations: 0 / 496.9 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1032, allocations: 3.938 kB / 496.9 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.1038, allocations: 418.4 kB / 497.3 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1038, allocations: 0 / 497.3 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.1039, allocations: 27.98 kB / 497.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1039, allocations: 7.938 kB / 497.3 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1039, allocations: 3.938 kB / 497.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1039, allocations: 0 / 497.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1039, allocations: 0 / 497.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.1042, allocations: 239.3 kB / 497.5 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.1043, allocations: 89.09 kB / 497.6 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1043, allocations: 3.938 kB / 497.6 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.1044, allocations: 15.98 kB / 497.6 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.1044, allocations: 7.984 kB / 497.7 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1044, allocations: 8 kB / 497.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.564e-05/0.1045, allocations: 99.27 kB / 497.8 MB, free: 1.102 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1045, allocations: 0 / 497.8 MB, free: 1.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00024/0.1048, allocations: 31.91 kB / 497.8 MB, free: 1.07 MB / 330.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.0009693/0.1058, allocations: 0.5103 MB / 498.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.1061, allocations: 107.9 kB / 498.4 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1061, allocations: 7.938 kB / 498.4 MB, free: 0.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1062, allocations: 51.97 kB / 498.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1066, allocations: 15.98 kB / 498.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.107, allocations: 225.3 kB / 498.7 MB, free: 276 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1073, allocations: 0.6965 MB / 499.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.018e-05/0.1074, allocations: 23.95 kB / 499.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.1075, allocations: 23.38 kB / 499.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1075, allocations: 0 / 499.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of Templates: time 0.003773/0.1112, allocations: 1.439 MB / 0.4891 GB, free: 14.07 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches