Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001235, allocations: 173.9 kB / 16.08 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.367/1.367, allocations: 205.6 MB / 222.4 MB, free: 8.938 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.000783/0.0007831, allocations: 94.94 kB / 270.8 MB, free: 8.125 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.3137/0.3137, allocations: 43.66 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002773, allocations: 8 kB / 432.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.102, allocations: 58.85 MB / 491.2 MB, free: 9.828 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.001849/0.1039, allocations: 1.275 MB / 492.4 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006165/0.1045, allocations: 392.9 kB / 492.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.1045, allocations: 0 / 492.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.1048, allocations: 95.73 kB / 492.9 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.105, allocations: 63.86 kB / 493 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.1052, allocations: 91.81 kB / 493.1 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1054, allocations: 71.83 kB / 493.1 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.1055, allocations: 20.45 kB / 493.2 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.1055, allocations: 39.83 kB / 493.2 MB, free: 7.762 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.733e-05/0.1056, allocations: 51.81 kB / 493.2 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1056, allocations: 0 / 493.2 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.66e-05/0.1057, allocations: 27.98 kB / 493.3 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.1058, allocations: 19.92 kB / 493.3 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.1058, allocations: 57.45 kB / 493.3 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.106, allocations: 99.56 kB / 493.4 MB, free: 7.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.106, allocations: 4 kB / 493.5 MB, free: 7.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.106, allocations: 0 / 493.5 MB, free: 7.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.106, allocations: 4 kB / 493.5 MB, free: 7.496 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000439/0.1065, allocations: 403 kB / 493.8 MB, free: 7.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1065, allocations: 8.031 kB / 493.9 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1066, allocations: 16.75 kB / 493.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1068, allocations: 200.1 kB / 494.1 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1068, allocations: 4.375 kB / 494.1 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1068, allocations: 8.375 kB / 494.1 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.107, allocations: 87.27 kB / 494.2 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.107, allocations: 0 / 494.2 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.107, allocations: 4 kB / 494.2 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.107, allocations: 0 / 494.2 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1072, allocations: 47.89 kB / 494.2 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.1076, allocations: 404.9 kB / 494.6 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.1079, allocations: 89.16 kB / 494.7 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.108, allocations: 33.8 kB / 494.7 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.108, allocations: 0 / 494.7 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.108, allocations: 34.56 kB / 494.8 MB, free: 6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1081, allocations: 0 / 494.8 MB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007047/0.1088, allocations: 256.7 kB / 495 MB, free: 5.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.1088, allocations: 81.11 kB / 495.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1091, allocations: 238.3 kB / 495.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1091, allocations: 25.7 kB / 495.4 MB, free: 5.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.1092, allocations: 123.8 kB / 495.5 MB, free: 5.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1092, allocations: 31.55 kB / 495.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.1092, allocations: 0 / 495.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1093, allocations: 326.8 kB / 495.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.1094, allocations: 35.97 kB / 495.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-05/0.1095, allocations: 49.7 kB / 495.9 MB, free: 4.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.1097, allocations: 93.61 kB / 496 MB, free: 4.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1097, allocations: 4 kB / 496 MB, free: 4.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002482/0.11, allocations: 137.4 kB / 496.1 MB, free: 4.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.11, allocations: 8 kB / 496.1 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.11, allocations: 0 / 496.1 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.11, allocations: 0 / 496.1 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.1101, allocations: 23.98 kB / 496.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1102, allocations: 7.938 kB / 496.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.1102, allocations: 4 kB / 496.2 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1102, allocations: 4.25 kB / 496.2 MB, free: 4.508 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001089/0.1103, allocations: 133.8 kB / 496.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.1104, allocations: 7.906 kB / 496.3 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.1108, allocations: 166.5 kB / 496.5 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1108, allocations: 7.984 kB / 496.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1108, allocations: 3.938 kB / 496.5 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.1108, allocations: 0 / 496.5 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.1114, allocations: 0.5102 MB / 497 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1115, allocations: 0 / 497 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.171e-05/0.1115, allocations: 27.94 kB / 497 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1116, allocations: 7.922 kB / 497 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1116, allocations: 4 kB / 497 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1116, allocations: 0 / 497 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1116, allocations: 7.969 kB / 497.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.1119, allocations: 304 kB / 497.3 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.112, allocations: 101.2 kB / 497.4 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.112, allocations: 0 / 497.4 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1121, allocations: 8 kB / 497.5 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.1121, allocations: 15.92 kB / 497.5 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1122, allocations: 192 / 497.5 MB, free: 3.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.1123, allocations: 176.2 kB / 497.6 MB, free: 2.926 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1123, allocations: 0 / 497.6 MB, free: 2.926 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.1126, allocations: 24 kB / 497.7 MB, free: 2.902 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008796/0.1135, allocations: 465.8 kB / 498.1 MB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.1137, allocations: 87.89 kB / 498.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1137, allocations: 0 / 498.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1139, allocations: 55.97 kB / 498.3 MB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1143, allocations: 27.38 kB / 498.3 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.1148, allocations: 327.3 kB / 498.6 MB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1151, allocations: 0.716 MB / 499.3 MB, free: 1.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.737e-05/0.1152, allocations: 24.77 kB / 499.3 MB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.1152, allocations: 19.44 kB / 499.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1152, allocations: 0 / 499.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of Templates: time 0.003385/0.1186, allocations: 1.226 MB / 0.4889 GB, free: 48 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches