Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008922/0.0008923, allocations: 170.6 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007115/0.0007115, allocations: 87.89 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2891/0.2891, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 16 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1048, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001698/0.1066, allocations: 1.259 MB / 492.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1077, allocations: 0.8871 MB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.1077, allocations: 0 / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.1079, allocations: 23.91 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.1081, allocations: 31.86 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1083, allocations: 67.84 kB / 493.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.1084, allocations: 43.84 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.1085, allocations: 19.98 kB / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.1086, allocations: 11.92 kB / 493.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1087, allocations: 27.84 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1087, allocations: 4 kB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.93e-05/0.1088, allocations: 39.98 kB / 493.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.1089, allocations: 7.984 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.1089, allocations: 45.56 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.109, allocations: 55.91 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.109, allocations: 0 / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1091, allocations: 0 / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.1091, allocations: 0 / 493.3 MB, free: 8.105 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.000405/0.1095, allocations: 383.5 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1095, allocations: 8.031 kB / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.1096, allocations: 8.844 kB / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1097, allocations: 192.2 kB / 493.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1097, allocations: 384 / 493.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1098, allocations: 4.375 kB / 493.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1099, allocations: 67.53 kB / 494 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1099, allocations: 0 / 494 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.11, allocations: 3.984 kB / 494 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.11, allocations: 4 kB / 494 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-05/0.1101, allocations: 27.92 kB / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.1104, allocations: 272.9 kB / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1106, allocations: 42.56 kB / 494.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.1106, allocations: 16.86 kB / 494.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1107, allocations: 0 / 494.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1107, allocations: 38.58 kB / 494.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1107, allocations: 4 kB / 494.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005157/0.1112, allocations: 149.3 kB / 494.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1113, allocations: 89.05 kB / 494.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1114, allocations: 133.8 kB / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1114, allocations: 25.7 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.1115, allocations: 92.14 kB / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.1115, allocations: 15.75 kB / 494.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.1115, allocations: 4 kB / 494.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.1116, allocations: 322.7 kB / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.925e-05/0.1117, allocations: 27.98 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.746e-05/0.1118, allocations: 37.77 kB / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1119, allocations: 56.86 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1119, allocations: 0 / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001695/0.1121, allocations: 89.52 kB / 495.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1121, allocations: 7.594 kB / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1121, allocations: 0 / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1121, allocations: 0 / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.1122, allocations: 19.98 kB / 495.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1122, allocations: 0 / 495.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.1122, allocations: 4 kB / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1123, allocations: 4 kB / 495.5 MB, free: 5.766 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/0.1123, allocations: 125.8 kB / 495.6 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.1124, allocations: 7.906 kB / 495.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.1126, allocations: 101.8 kB / 495.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1126, allocations: 0 / 495.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1126, allocations: 0 / 495.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1126, allocations: 3.984 kB / 495.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.113, allocations: 354.5 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.113, allocations: 0 / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.1131, allocations: 12.31 kB / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1131, allocations: 0 / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1131, allocations: 4 kB / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1131, allocations: 3.938 kB / 496.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1131, allocations: 3.938 kB / 496.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.1133, allocations: 187.4 kB / 496.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.1134, allocations: 85.02 kB / 496.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1134, allocations: 7.984 kB / 496.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.1135, allocations: 7.938 kB / 496.3 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.1135, allocations: 8 kB / 496.3 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1135, allocations: 3.984 kB / 496.3 MB, free: 4.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.161e-05/0.1136, allocations: 103.3 kB / 496.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1136, allocations: 0 / 496.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.1138, allocations: 20 kB / 496.5 MB, free: 4.645 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008306/0.1147, allocations: 441.2 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1149, allocations: 55.91 kB / 497 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1149, allocations: 0 / 497 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.115, allocations: 31.98 kB / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1153, allocations: 19.91 kB / 497 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.1156, allocations: 194.3 kB / 497.2 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1159, allocations: 0.6887 MB / 497.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.1159, allocations: 19.38 kB / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1159, allocations: 0 / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of Templates: time 0.002767/0.1187, allocations: 1.543 MB / 499.4 MB, free: 1.652 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches