Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,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.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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.CombiTable1Ds.Test18") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 179.6 kB / 16.08 MB, free: 5.539 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.35/1.35, allocations: 205.6 MB / 222.4 MB, free: 13.54 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.0009259/0.000926, allocations: 90.25 kB / 270.8 MB, free: 13.05 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.193/0.193, allocations: 43.68 MB / 362.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 8 kB / 432.3 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1002, allocations: 58.86 MB / 491.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001668/0.1019, allocations: 1.271 MB / 492.4 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1032, allocations: 1.057 MB / 493.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.1032, allocations: 0 / 493.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.1034, allocations: 27.84 kB / 493.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1036, allocations: 31.92 kB / 493.6 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1038, allocations: 59.86 kB / 493.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.104, allocations: 63.83 kB / 493.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.1041, allocations: 16.47 kB / 493.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.1042, allocations: 27.84 kB / 493.7 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1043, allocations: 23.86 kB / 493.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1043, allocations: 4 kB / 493.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.1044, allocations: 39.97 kB / 493.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.1045, allocations: 15.92 kB / 493.8 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.1045, allocations: 41.58 kB / 493.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1047, allocations: 95.69 kB / 493.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1047, allocations: 3.938 kB / 493.9 MB, free: 5.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1047, allocations: 4 kB / 494 MB, free: 5.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1047, allocations: 4 kB / 494 MB, free: 5.254 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000502/0.1052, allocations: 371.3 kB / 494.3 MB, free: 4.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1053, allocations: 15.97 kB / 494.3 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.1053, allocations: 8.844 kB / 494.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1055, allocations: 184.3 kB / 494.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1055, allocations: 384 / 494.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1056, allocations: 8.375 kB / 494.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1057, allocations: 79.33 kB / 494.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1057, allocations: 0 / 494.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1058, allocations: 0 / 494.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1058, allocations: 0 / 494.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1059, allocations: 43.91 kB / 494.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.1063, allocations: 292.8 kB / 494.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1064, allocations: 46.56 kB / 495 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.1065, allocations: 24.97 kB / 495 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1065, allocations: 3.938 kB / 495 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1065, allocations: 38.56 kB / 495 MB, free: 3.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1065, allocations: 0 / 495 MB, free: 3.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006198/0.1071, allocations: 193.2 kB / 495.2 MB, free: 3.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1072, allocations: 77.11 kB / 495.3 MB, free: 3.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1073, allocations: 145.7 kB / 495.5 MB, free: 3.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1074, allocations: 29.7 kB / 495.5 MB, free: 3.516 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1074, allocations: 96.03 kB / 495.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1075, allocations: 23.72 kB / 495.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.1075, allocations: 4 kB / 495.6 MB, free: 3.391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1076, allocations: 326.8 kB / 495.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.1077, allocations: 27.98 kB / 495.9 MB, free: 3.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-05/0.1078, allocations: 41.69 kB / 496 MB, free: 2.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.108, allocations: 68.88 kB / 496.1 MB, free: 2.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.108, allocations: 0 / 496.1 MB, free: 2.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002097/0.1082, allocations: 109.5 kB / 496.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1082, allocations: 4 kB / 496.2 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1082, allocations: 0 / 496.2 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1082, allocations: 0 / 496.2 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1083, allocations: 23.98 kB / 496.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1084, allocations: 384 / 496.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.1084, allocations: 11.94 kB / 496.2 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1084, allocations: 3.984 kB / 496.2 MB, free: 2.762 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 (8): * Single equations (assignments): 8 * 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.958e-05/0.1085, allocations: 121.8 kB / 496.3 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.1085, allocations: 11.91 kB / 496.3 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.1088, allocations: 130.2 kB / 496.5 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1088, allocations: 0 / 496.5 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1089, allocations: 0 / 496.5 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1089, allocations: 7.938 kB / 496.5 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.1093, allocations: 394.3 kB / 496.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1093, allocations: 0 / 496.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.1094, allocations: 19.98 kB / 496.9 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1094, allocations: 3.938 kB / 496.9 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1094, allocations: 4 kB / 496.9 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1094, allocations: 0 / 496.9 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1095, allocations: 4 kB / 496.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1097, allocations: 199.4 kB / 497.1 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.1098, allocations: 89.08 kB / 497.2 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1098, allocations: 7.875 kB / 497.2 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.1099, allocations: 16 kB / 497.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1099, allocations: 7.922 kB / 497.2 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1099, allocations: 4 kB / 497.2 MB, free: 1.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.357e-05/0.11, allocations: 107.2 kB / 497.3 MB, free: 1.547 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.11, allocations: 0 / 497.3 MB, free: 1.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.1103, allocations: 27.91 kB / 497.3 MB, free: 1.52 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 (8): * Single equations (assignments): 8 * 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.0009777/0.1112, allocations: 0.51 MB / 497.8 MB, free: 1.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1115, allocations: 67.97 kB / 497.9 MB, free: 1.078 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1115, allocations: 0 / 497.9 MB, free: 1.078 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.1116, allocations: 43.91 kB / 498 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.1119, allocations: 15.98 kB / 498 MB, free: 1.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.1123, allocations: 201.1 kB / 498.2 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.1125, allocations: 0.7004 MB / 498.9 MB, free: 72 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.266e-05/0.1126, allocations: 8.656 kB / 498.9 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1127, allocations: 19.44 kB / 498.9 MB, free: 44 kB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1127, allocations: 0 / 498.9 MB, free: 44 kB / 330.7 MB Notification: Performance of Templates: time 0.003672/0.1163, allocations: 1.382 MB / 0.4886 GB, free: 14.67 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches