Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.00122/0.00122, allocations: 182.5 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.269/1.269, 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.0007334/0.0007335, allocations: 94.19 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.1841/0.1841, allocations: 43.68 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004438, allocations: 12 kB / 432.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1002, allocations: 58.86 MB / 491.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001836/0.1021, allocations: 1.25 MB / 492.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006499/0.1028, allocations: 385.8 kB / 492.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.1028, allocations: 0 / 492.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.1031, allocations: 19.91 kB / 492.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.1032, allocations: 23.94 kB / 492.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.1035, allocations: 71.84 kB / 492.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1036, allocations: 47.91 kB / 493 MB, free: 6.316 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.1037, allocations: 11.98 kB / 493 MB, free: 6.305 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.1038, allocations: 19.88 kB / 493 MB, free: 6.285 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.1038, allocations: 15.86 kB / 493 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1039, allocations: 0 / 493 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.1039, allocations: 27.98 kB / 493 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.104, allocations: 15.92 kB / 493 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.1041, allocations: 41.58 kB / 493.1 MB, free: 6.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1043, allocations: 72.02 kB / 493.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1043, allocations: 0 / 493.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1043, allocations: 0 / 493.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.1043, allocations: 0 / 493.2 MB, free: 6.109 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004386/0.1047, allocations: 375.2 kB / 493.5 MB, free: 5.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1048, allocations: 8.031 kB / 493.5 MB, free: 5.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1048, allocations: 4.938 kB / 493.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.105, allocations: 200 kB / 493.7 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.105, allocations: 384 / 493.7 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1051, allocations: 4.375 kB / 493.7 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1052, allocations: 53.81 kB / 493.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1052, allocations: 0 / 493.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1052, allocations: 0 / 493.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1052, allocations: 0 / 493.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1054, allocations: 27.98 kB / 493.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.1057, allocations: 272.8 kB / 494.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1059, allocations: 42.56 kB / 494.1 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.106, allocations: 16.94 kB / 494.1 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.106, allocations: 8 kB / 494.2 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.106, allocations: 38.56 kB / 494.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.106, allocations: 0 / 494.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005482/0.1066, allocations: 161.2 kB / 494.3 MB, free: 4.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1066, allocations: 51.41 kB / 494.4 MB, free: 4.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1068, allocations: 138.1 kB / 494.5 MB, free: 4.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1068, allocations: 25.7 kB / 494.6 MB, free: 4.512 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.1068, allocations: 96.12 kB / 494.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.1069, allocations: 19.69 kB / 494.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.1069, allocations: 8 kB / 494.7 MB, free: 4.387 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.107, allocations: 318.8 kB / 495 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.1071, allocations: 27.92 kB / 495 MB, free: 4.039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.303e-05/0.1071, allocations: 19.98 kB / 495 MB, free: 4.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1073, allocations: 64.95 kB / 495.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1073, allocations: 0 / 495.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001738/0.1075, allocations: 85.58 kB / 495.2 MB, free: 3.863 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1075, allocations: 8 kB / 495.2 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1075, allocations: 4 kB / 495.2 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1075, allocations: 0 / 495.2 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.1076, allocations: 15.98 kB / 495.2 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1076, allocations: 3.938 kB / 495.2 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.1076, allocations: 4 kB / 495.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1077, allocations: 4 kB / 495.2 MB, free: 3.824 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 (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 8.038e-05/0.1077, allocations: 117.8 kB / 495.3 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.1078, allocations: 7.906 kB / 495.3 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.108, allocations: 102 kB / 495.4 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1081, allocations: 0 / 495.4 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1081, allocations: 0 / 495.4 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1081, allocations: 0 / 495.4 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.1085, allocations: 358.4 kB / 495.8 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1085, allocations: 0 / 495.8 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.1085, allocations: 15.98 kB / 495.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1086, allocations: 0 / 495.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1086, allocations: 0 / 495.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1086, allocations: 3.938 kB / 495.8 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1086, allocations: 4.188 kB / 495.8 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.1088, allocations: 187.4 kB / 496 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1089, allocations: 89 kB / 496.1 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1089, allocations: 4 kB / 496.1 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.109, allocations: 11.94 kB / 496.1 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.109, allocations: 7.984 kB / 496.1 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.109, allocations: 0 / 496.1 MB, free: 2.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.011e-05/0.1091, allocations: 107.3 kB / 496.2 MB, free: 2.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1091, allocations: 0 / 496.2 MB, free: 2.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000215/0.1093, allocations: 12 kB / 496.2 MB, free: 2.715 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 (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.0008742/0.1102, allocations: 469.4 kB / 496.7 MB, free: 2.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.1104, allocations: 47.97 kB / 496.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1104, allocations: 0 / 496.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/0.1105, allocations: 40.03 kB / 496.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.1108, allocations: 23.92 kB / 496.8 MB, free: 2.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.1111, allocations: 176.7 kB / 497 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1114, allocations: 0.6887 MB / 497.7 MB, free: 1.355 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.689e-05/0.1114, allocations: 15.98 kB / 497.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.1115, allocations: 11.44 kB / 497.7 MB, free: 1.328 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1115, allocations: 0 / 497.7 MB, free: 1.328 MB / 330.7 MB Notification: Performance of Templates: time 0.003368/0.1149, allocations: 1.02 MB / 498.7 MB, free: 324 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches