Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 174.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 225.7 MB / 243.9 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008728, allocations: 96.2 kB / 295.1 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3068/0.3068, allocations: 44.32 MB / 390.5 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 11.98 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2918, allocations: 61.9 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001439/0.2932, allocations: 1.262 MB / 0.514 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005683/0.2938, allocations: 458.6 kB / 0.5144 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.2939, allocations: 2.812 kB / 0.5144 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.2941, allocations: 9.375 kB / 0.5144 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2942, allocations: 31.25 kB / 0.5144 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.2944, allocations: 88.05 kB / 0.5145 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2945, allocations: 56.72 kB / 0.5146 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.2946, allocations: 9.062 kB / 0.5146 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.2947, allocations: 13.88 kB / 0.5146 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.2947, allocations: 16.81 kB / 0.5146 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2947, allocations: 2.781 kB / 0.5146 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.07e-05/0.2948, allocations: 31.48 kB / 0.5147 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.2948, allocations: 14.78 kB / 0.5147 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.2949, allocations: 39.48 kB / 0.5147 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.295, allocations: 73.61 kB / 0.5148 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.295, allocations: 0 / 0.5148 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.295, allocations: 0 / 0.5148 GB, free: 36.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.295, allocations: 0 / 0.5148 GB, free: 36.4 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.0002983/0.2953, allocations: 369.6 kB / 0.5151 GB, free: 36.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.2954, allocations: 9.312 kB / 0.5151 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.2954, allocations: 7.938 kB / 0.5151 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2955, allocations: 195.5 kB / 0.5153 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.2955, allocations: 384 / 0.5153 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2956, allocations: 7.281 kB / 0.5153 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.2957, allocations: 58.33 kB / 0.5154 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2957, allocations: 0 / 0.5154 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.2957, allocations: 6.844 kB / 0.5154 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2957, allocations: 0 / 0.5154 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/0.2958, allocations: 26.86 kB / 0.5154 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.296, allocations: 271.8 kB / 0.5157 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.2962, allocations: 46.34 kB / 0.5157 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.2963, allocations: 18.3 kB / 0.5158 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.2963, allocations: 2.812 kB / 0.5158 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.2963, allocations: 38.56 kB / 0.5158 GB, free: 35.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2964, allocations: 0 / 0.5158 GB, free: 35.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004385/0.2968, allocations: 151.1 kB / 0.5159 GB, free: 35.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/0.2968, allocations: 58.72 kB / 0.516 GB, free: 35.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.2969, allocations: 140.9 kB / 0.5161 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.2969, allocations: 25.7 kB / 0.5161 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.297, allocations: 93.11 kB / 0.5162 GB, free: 35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.297, allocations: 16.02 kB / 0.5163 GB, free: 34.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.297, allocations: 4 kB / 0.5163 GB, free: 34.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.297, allocations: 321.5 kB / 0.5166 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.2971, allocations: 22.33 kB / 0.5166 GB, free: 34.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/0.2972, allocations: 22.08 kB / 0.5166 GB, free: 34.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.2973, allocations: 58.66 kB / 0.5167 GB, free: 34.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2973, allocations: 0 / 0.5167 GB, free: 34.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00016/0.2975, allocations: 87.69 kB / 0.5167 GB, free: 34.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2975, allocations: 5.781 kB / 0.5168 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2975, allocations: 4 kB / 0.5168 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2975, allocations: 1.156 kB / 0.5168 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.2976, allocations: 14.31 kB / 0.5168 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.2976, allocations: 0.8438 kB / 0.5168 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.2976, allocations: 6.141 kB / 0.5168 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.2977, allocations: 1.656 kB / 0.5168 GB, free: 34.59 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 5.393e-05/0.2977, allocations: 126.3 kB / 0.5169 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.2977, allocations: 11.66 kB / 0.5169 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.2979, allocations: 97.17 kB / 0.517 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.298, allocations: 2.938 kB / 0.517 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.298, allocations: 4.297 kB / 0.517 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.298, allocations: 0 / 0.517 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.2983, allocations: 364.7 kB / 0.5174 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2983, allocations: 3.281 kB / 0.5174 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.2983, allocations: 11.44 kB / 0.5174 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2983, allocations: 0 / 0.5174 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.2984, allocations: 0 / 0.5174 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2984, allocations: 11.22 kB / 0.5174 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2984, allocations: 2.906 kB / 0.5174 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.2985, allocations: 179.2 kB / 0.5176 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.2986, allocations: 88.11 kB / 0.5176 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2986, allocations: 4 kB / 0.5176 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-05/0.2986, allocations: 16.81 kB / 0.5177 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.2987, allocations: 0 / 0.5177 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2987, allocations: 5.938 kB / 0.5177 GB, free: 33.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.049e-05/0.2987, allocations: 105.2 kB / 0.5178 GB, free: 33.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2988, allocations: 3 kB / 0.5178 GB, free: 33.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.299, allocations: 15.61 kB / 0.5178 GB, free: 33.71 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.0007614/0.2997, allocations: 473.2 kB / 0.5182 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.2999, allocations: 54.22 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2999, allocations: 3.938 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.3, allocations: 34.3 kB / 0.5183 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.3003, allocations: 12.83 kB / 0.5183 GB, free: 33.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.3006, allocations: 193 kB / 0.5185 GB, free: 33.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.3007, allocations: 0.6869 MB / 0.5192 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.3008, allocations: 13.31 kB / 0.5192 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.3008, allocations: 12.78 kB / 0.5192 GB, free: 32.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3008, allocations: 0 / 0.5192 GB, free: 32.53 MB / 378.7 MB Notification: Performance of Templates: time 0.003164/0.304, allocations: 1.031 MB / 0.5202 GB, free: 32.39 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches