Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.557/1.557, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007711/0.0007712, allocations: 85.34 kB / 270.9 MB, free: 8.359 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.3207/0.3207, allocations: 43.56 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 12 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.112, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001436/0.1134, allocations: 1.267 MB / 491.5 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004389/0.1139, allocations: 287.8 kB / 491.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.1139, allocations: 0 / 491.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.333e-05/0.114, allocations: 15.92 kB / 491.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.142e-05/0.1141, allocations: 35.84 kB / 491.8 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.1143, allocations: 55.92 kB / 491.9 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.1144, allocations: 47.84 kB / 491.9 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.1144, allocations: 23.95 kB / 492 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.1145, allocations: 15.88 kB / 492 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.53e-05/0.1145, allocations: 23.91 kB / 492 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.1145, allocations: 0 / 492 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.727e-05/0.1146, allocations: 20 kB / 492 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.1146, allocations: 15.92 kB / 492 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.1146, allocations: 37.64 kB / 492.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.89e-05/0.1147, allocations: 47.92 kB / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1147, allocations: 0 / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1147, allocations: 4 kB / 492.1 MB, free: 9.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1147, allocations: 0 / 492.1 MB, free: 9.086 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.0002764/0.115, allocations: 379.3 kB / 492.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.188e-05/0.115, allocations: 15.95 kB / 492.5 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.1151, allocations: 11.86 kB / 492.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1152, allocations: 183 kB / 492.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-06/0.1152, allocations: 0 / 492.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1152, allocations: 4 kB / 492.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.1153, allocations: 45.69 kB / 492.7 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-06/0.1153, allocations: 7.938 kB / 492.7 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-06/0.1154, allocations: 0 / 492.7 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-06/0.1154, allocations: 0 / 492.7 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.1154, allocations: 27.94 kB / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.1157, allocations: 276.9 kB / 493 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1158, allocations: 46.5 kB / 493.1 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.1159, allocations: 20.94 kB / 493.1 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.1159, allocations: 0 / 493.1 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.116, allocations: 34.56 kB / 493.1 MB, free: 7.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.116, allocations: 4 kB / 493.1 MB, free: 7.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004389/0.1164, allocations: 161.2 kB / 493.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.1164, allocations: 55.41 kB / 493.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1166, allocations: 153.3 kB / 493.5 MB, free: 7.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1166, allocations: 33.7 kB / 493.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.1166, allocations: 88.14 kB / 493.6 MB, free: 7.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.1166, allocations: 15.8 kB / 493.6 MB, free: 7.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.1167, allocations: 0 / 493.6 MB, free: 7.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.1167, allocations: 322.8 kB / 494 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.1168, allocations: 23.98 kB / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.1169, allocations: 28.03 kB / 494 MB, free: 6.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.498e-05/0.117, allocations: 20.12 kB / 494 MB, free: 6.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.117, allocations: 4 kB / 494 MB, free: 6.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.1171, allocations: 93.5 kB / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1172, allocations: 7.953 kB / 494.1 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.1172, allocations: 0 / 494.1 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.1172, allocations: 0 / 494.1 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.1172, allocations: 12 kB / 494.1 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1173, allocations: 4 kB / 494.1 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.1173, allocations: 15.92 kB / 494.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1173, allocations: 4 kB / 494.2 MB, free: 6.816 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 6.869e-05/0.1174, allocations: 113.8 kB / 494.3 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.1174, allocations: 7.906 kB / 494.3 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.1176, allocations: 105.8 kB / 494.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1176, allocations: 7.984 kB / 494.4 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1177, allocations: 0 / 494.4 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.1177, allocations: 0 / 494.4 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.118, allocations: 350.6 kB / 494.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.118, allocations: 0 / 494.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/0.1181, allocations: 23.94 kB / 494.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1181, allocations: 0 / 494.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.1181, allocations: 0 / 494.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1181, allocations: 7.938 kB / 494.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1181, allocations: 192 / 494.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1183, allocations: 183.7 kB / 494.9 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.1184, allocations: 89 kB / 495 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.1184, allocations: 7.938 kB / 495 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.1185, allocations: 4 kB / 495 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.1185, allocations: 11.98 kB / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1185, allocations: 0 / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.872e-05/0.1186, allocations: 119.2 kB / 495.2 MB, free: 5.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1186, allocations: 4 kB / 495.2 MB, free: 5.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.1188, allocations: 19.91 kB / 495.2 MB, free: 5.676 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.0006657/0.1195, allocations: 400.9 kB / 495.6 MB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.1196, allocations: 59.91 kB / 495.6 MB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.1197, allocations: 4 kB / 495.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/0.1197, allocations: 23.98 kB / 495.7 MB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.12, allocations: 15.98 kB / 495.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.1203, allocations: 214.4 kB / 495.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1206, allocations: 0.6887 MB / 496.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.1206, allocations: 15.38 kB / 496.6 MB, free: 4.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1206, allocations: 0 / 496.6 MB, free: 4.25 MB / 378.7 MB Notification: Performance of Templates: time 0.002553/0.1232, allocations: 1.36 MB / 498 MB, free: 2.891 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches