Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 180 kB / 16.08 MB, free: 5.484 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.411/1.411, allocations: 205.6 MB / 222.4 MB, free: 8.93 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.0008916/0.0008916, allocations: 93.58 kB / 270.8 MB, free: 8.121 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.3772/0.3772, allocations: 43.67 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003155, allocations: 12 kB / 432.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1033, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.001818/0.1052, allocations: 1.267 MB / 492.4 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1066, allocations: 1.045 MB / 493.5 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.1066, allocations: 4 kB / 493.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.1069, allocations: 19.91 kB / 493.5 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.1071, allocations: 31.91 kB / 493.5 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.1073, allocations: 63.88 kB / 493.6 MB, free: 7.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1074, allocations: 47.91 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.1075, allocations: 19.97 kB / 493.7 MB, free: 7.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.66e-05/0.1076, allocations: 23.8 kB / 493.7 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1077, allocations: 18.77 kB / 493.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1077, allocations: 4 kB / 493.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.1078, allocations: 39.98 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.1079, allocations: 15.91 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.1079, allocations: 41.58 kB / 493.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1081, allocations: 95.97 kB / 493.9 MB, free: 7.258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1081, allocations: 0 / 493.9 MB, free: 7.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1081, allocations: 0 / 493.9 MB, free: 7.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1081, allocations: 0 / 493.9 MB, free: 7.258 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004215/0.1086, allocations: 371.3 kB / 494.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1086, allocations: 8.031 kB / 494.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.1086, allocations: 8.844 kB / 494.3 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1088, allocations: 192.2 kB / 494.5 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1089, allocations: 4.375 kB / 494.5 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1089, allocations: 384 / 494.5 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.109, allocations: 71.52 kB / 494.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1091, allocations: 0 / 494.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1091, allocations: 0 / 494.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1091, allocations: 0 / 494.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.1092, allocations: 35.91 kB / 494.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.1095, allocations: 272.9 kB / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1097, allocations: 38.56 kB / 494.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.1098, allocations: 20.86 kB / 494.9 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1098, allocations: 4 kB / 494.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1098, allocations: 38.58 kB / 494.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1098, allocations: 0 / 494.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005103/0.1103, allocations: 157.2 kB / 495.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1104, allocations: 81.11 kB / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1105, allocations: 133.8 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1105, allocations: 25.7 kB / 495.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.1106, allocations: 96.08 kB / 495.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.1106, allocations: 7.812 kB / 495.4 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.1106, allocations: 4 kB / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.1107, allocations: 326.8 kB / 495.7 MB, free: 5.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.1108, allocations: 19.98 kB / 495.8 MB, free: 5.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.1109, allocations: 37.7 kB / 495.8 MB, free: 5.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.111, allocations: 56.86 kB / 495.9 MB, free: 5.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.111, allocations: 0 / 495.9 MB, free: 5.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001715/0.1112, allocations: 85.77 kB / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1112, allocations: 12 kB / 496 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1112, allocations: 4 kB / 496 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1113, allocations: 0 / 496 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.1113, allocations: 15.98 kB / 496 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1113, allocations: 3.938 kB / 496 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.958e-05/0.1114, allocations: 4 kB / 496 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1114, allocations: 7.984 kB / 496 MB, free: 4.922 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 7.802e-05/0.1115, allocations: 121.8 kB / 496.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1115, allocations: 3.906 kB / 496.1 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1117, allocations: 101.6 kB / 496.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1118, allocations: 0 / 496.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1118, allocations: 0 / 496.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1118, allocations: 0 / 496.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.1122, allocations: 358.5 kB / 496.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1122, allocations: 0 / 496.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.1122, allocations: 12 kB / 496.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1122, allocations: 0 / 496.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1123, allocations: 0 / 496.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1123, allocations: 11.88 kB / 496.6 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1123, allocations: 3.984 kB / 496.6 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1125, allocations: 179.4 kB / 496.8 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.1126, allocations: 89 kB / 496.9 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1126, allocations: 8.188 kB / 496.9 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.1127, allocations: 11.94 kB / 496.9 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.1127, allocations: 3.984 kB / 496.9 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1127, allocations: 4 kB / 496.9 MB, free: 3.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.02e-05/0.1128, allocations: 99.27 kB / 497 MB, free: 3.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1128, allocations: 0 / 497 MB, free: 3.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.1131, allocations: 24 kB / 497 MB, free: 3.805 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.0009995/0.1141, allocations: 0.5077 MB / 497.5 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1143, allocations: 55.91 kB / 497.6 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1143, allocations: 4 kB / 497.6 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.563e-05/0.1144, allocations: 27.97 kB / 497.6 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.1147, allocations: 15.94 kB / 497.6 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.115, allocations: 172.7 kB / 497.8 MB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1153, allocations: 0.6965 MB / 498.5 MB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.1154, allocations: 7.859 kB / 498.5 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.1154, allocations: 19.42 kB / 498.5 MB, free: 2.379 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1154, allocations: 0 / 498.5 MB, free: 2.379 MB / 378.7 MB Notification: Performance of Templates: time 0.003559/0.119, allocations: 1.285 MB / 499.8 MB, free: 1.102 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches