Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.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.CombiTable1D.Test30,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.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,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.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002323/0.002329, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001139/0.001139, allocations: 90.78 kB / 270.9 MB, free: 13.38 MB / 234.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.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004617, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 58.85 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.002176/0.1141, allocations: 1.252 MB / 491.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000733/0.1149, allocations: 291.9 kB / 491.8 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.1149, allocations: 4 kB / 491.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.1152, allocations: 67.78 kB / 491.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1154, allocations: 51.86 kB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1158, allocations: 83.77 kB / 492 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1159, allocations: 39.95 kB / 492 MB, free: 7.555 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.116, allocations: 15.92 kB / 492 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.1161, allocations: 31.91 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1162, allocations: 35.89 kB / 492.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1162, allocations: 0 / 492.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.1163, allocations: 19.98 kB / 492.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.1164, allocations: 19.86 kB / 492.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.1164, allocations: 37.64 kB / 492.2 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1166, allocations: 67.84 kB / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.1166, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1166, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1166, allocations: 0 / 492.2 MB, free: 7.324 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004894/0.1171, allocations: 391.3 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1172, allocations: 12.02 kB / 492.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1172, allocations: 11.86 kB / 492.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.1175, allocations: 198.8 kB / 492.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1175, allocations: 0 / 492.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1175, allocations: 3.984 kB / 492.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1177, allocations: 49.69 kB / 492.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1177, allocations: 4 kB / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1177, allocations: 4 kB / 492.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1177, allocations: 0 / 492.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1179, allocations: 27.97 kB / 492.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.1183, allocations: 284.8 kB / 493.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.1186, allocations: 58.48 kB / 493.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1186, allocations: 0 / 493.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1187, allocations: 34.56 kB / 493.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1187, allocations: 0 / 493.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007885/0.1195, allocations: 169.3 kB / 493.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1195, allocations: 63.33 kB / 493.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.1198, allocations: 202.2 kB / 493.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1198, allocations: 29.7 kB / 493.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.1199, allocations: 166.5 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.12, allocations: 11.81 kB / 493.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.12, allocations: 0 / 493.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1201, allocations: 318.8 kB / 494.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1202, allocations: 23.98 kB / 494.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1204, allocations: 27.98 kB / 494.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1205, allocations: 23.98 kB / 494.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1205, allocations: 3.938 kB / 494.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003119/0.1209, allocations: 89.66 kB / 494.4 MB, free: 4.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1209, allocations: 10.66 kB / 494.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1209, allocations: 256 / 494.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1209, allocations: 0 / 494.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.121, allocations: 19.95 kB / 494.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1211, allocations: 0 / 494.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-05/0.1212, allocations: 11.98 kB / 494.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1212, allocations: 0 / 494.4 MB, free: 4.91 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 (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 0.0001169/0.1213, allocations: 137.8 kB / 494.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.1213, allocations: 7.906 kB / 494.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.1217, allocations: 105.9 kB / 494.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1217, allocations: 0 / 494.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1218, allocations: 3.953 kB / 494.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1218, allocations: 3.984 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/0.1224, allocations: 374.4 kB / 495 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1224, allocations: 0 / 495 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1225, allocations: 12 kB / 495.1 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1225, allocations: 0 / 495.1 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1225, allocations: 11.95 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1226, allocations: 0 / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1226, allocations: 7.984 kB / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.1229, allocations: 179.4 kB / 495.2 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.123, allocations: 93 kB / 495.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.123, allocations: 4 kB / 495.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1231, allocations: 12.08 kB / 495.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.1232, allocations: 7.984 kB / 495.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1232, allocations: 4 kB / 495.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001752/0.1234, allocations: 155.2 kB / 495.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1234, allocations: 3.938 kB / 495.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003231/0.1237, allocations: 16 kB / 495.5 MB, free: 3.691 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 (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.001134/0.1249, allocations: 409.3 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.1252, allocations: 51.97 kB / 496 MB, free: 3.285 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1252, allocations: 0 / 496 MB, free: 3.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1254, allocations: 39.91 kB / 496 MB, free: 3.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1257, allocations: 12 kB / 496 MB, free: 3.234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.1262, allocations: 262.9 kB / 496.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.1265, allocations: 0.7082 MB / 497 MB, free: 2.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.1266, allocations: 11.44 kB / 497 MB, free: 2.195 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1266, allocations: 0 / 497 MB, free: 2.195 MB / 330.7 MB Notification: Performance of Templates: time 0.0793/0.2059, allocations: 1.514 MB / 498.5 MB, free: 0.6836 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches