Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008678/0.0008679, allocations: 175.7 kB / 16.72 MB, free: 4.953 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.16/1.16, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006809/0.0006808, allocations: 90.34 kB / 271.2 MB, free: 8.246 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.2736/0.2736, allocations: 43.57 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.105, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001712/0.1067, allocations: 1.263 MB / 492.1 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004985/0.1072, allocations: 295.8 kB / 492.4 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.1073, allocations: 3.938 kB / 492.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.1075, allocations: 19.92 kB / 492.4 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.1076, allocations: 27.91 kB / 492.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1078, allocations: 55.88 kB / 492.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.108, allocations: 47.84 kB / 492.5 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.1081, allocations: 19.97 kB / 492.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.986e-05/0.1081, allocations: 19.92 kB / 492.6 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.1082, allocations: 15.92 kB / 492.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1082, allocations: 7.938 kB / 492.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.702e-05/0.1082, allocations: 20 kB / 492.6 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.1083, allocations: 11.98 kB / 492.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.1083, allocations: 49.5 kB / 492.7 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.1084, allocations: 51.91 kB / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1085, allocations: 0 / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1085, allocations: 0 / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1085, allocations: 0 / 492.7 MB, free: 8.973 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.0003931/0.1089, allocations: 379.5 kB / 493.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1089, allocations: 15.97 kB / 493.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.1089, allocations: 8.844 kB / 493.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.1091, allocations: 187.5 kB / 493.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.1091, allocations: 384 / 493.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1092, allocations: 384 / 493.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1093, allocations: 53.75 kB / 493.3 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1093, allocations: 0 / 493.3 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1093, allocations: 12 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1093, allocations: 0 / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.1094, allocations: 27.97 kB / 493.4 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.1098, allocations: 268.9 kB / 493.6 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.11, allocations: 50.5 kB / 493.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.11, allocations: 12.86 kB / 493.7 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1101, allocations: 0 / 493.7 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1101, allocations: 42.56 kB / 493.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1101, allocations: 0 / 493.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005063/0.1106, allocations: 165.6 kB / 493.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1107, allocations: 55.39 kB / 494 MB, free: 7.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1108, allocations: 149.8 kB / 494.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1108, allocations: 29.7 kB / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.1109, allocations: 100 kB / 494.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.1109, allocations: 11.81 kB / 494.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.1109, allocations: 3.938 kB / 494.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.111, allocations: 326.8 kB / 494.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.597e-05/0.1111, allocations: 19.98 kB / 494.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.1112, allocations: 32.05 kB / 494.6 MB, free: 6.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1113, allocations: 48.83 kB / 494.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1113, allocations: 0 / 494.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001668/0.1115, allocations: 97.52 kB / 494.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1115, allocations: 4 kB / 494.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1115, allocations: 0 / 494.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1115, allocations: 0 / 494.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.1116, allocations: 15.98 kB / 494.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1116, allocations: 0 / 494.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.1116, allocations: 7.938 kB / 494.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1116, allocations: 11.94 kB / 494.8 MB, free: 6.664 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 7.757e-05/0.1117, allocations: 121.8 kB / 494.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1118, allocations: 7.906 kB / 494.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.112, allocations: 105.8 kB / 495 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.112, allocations: 4 kB / 495 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.112, allocations: 0 / 495 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.112, allocations: 0 / 495 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.1124, allocations: 346.5 kB / 495.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1124, allocations: 3.938 kB / 495.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.1125, allocations: 20.3 kB / 495.4 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1125, allocations: 0 / 495.4 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1125, allocations: 4 kB / 495.4 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1125, allocations: 3.938 kB / 495.4 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1125, allocations: 0 / 495.4 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1127, allocations: 183.4 kB / 495.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.1128, allocations: 93 kB / 495.7 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1128, allocations: 0 / 495.7 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.1129, allocations: 7.938 kB / 495.7 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1129, allocations: 7.984 kB / 495.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1129, allocations: 0 / 495.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.647e-05/0.113, allocations: 122.7 kB / 495.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.433e-06/0.113, allocations: 0 / 495.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.1132, allocations: 19.94 kB / 495.8 MB, free: 5.527 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.000804/0.114, allocations: 405.9 kB / 496.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1142, allocations: 43.97 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1142, allocations: 4 kB / 496.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.265e-05/0.1143, allocations: 27.98 kB / 496.3 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1146, allocations: 23.86 kB / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.115, allocations: 214.4 kB / 496.5 MB, free: 4.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1152, allocations: 0.6965 MB / 497.2 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1153, allocations: 11.44 kB / 497.2 MB, free: 4.094 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1153, allocations: 0 / 497.2 MB, free: 4.094 MB / 378.7 MB Notification: Performance of Templates: time 0.002513/0.1178, allocations: 1.36 MB / 498.6 MB, free: 2.734 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches