Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000863/0.0008631, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.156/1.156, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007208/0.000721, allocations: 92.73 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.2713/0.2713, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 19.98 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002407/0.1125, allocations: 1.259 MB / 492.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000681/0.1132, allocations: 307.7 kB / 492.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.1133, allocations: 0 / 492.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.1137, allocations: 67.86 kB / 492.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1139, allocations: 51.88 kB / 492.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1143, allocations: 87.81 kB / 492.7 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1144, allocations: 51.84 kB / 492.7 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1145, allocations: 27.94 kB / 492.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.182e-05/0.1146, allocations: 23.92 kB / 492.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1147, allocations: 39.83 kB / 492.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1147, allocations: 0 / 492.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.1148, allocations: 28 kB / 492.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.1149, allocations: 11.92 kB / 492.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.1149, allocations: 45.52 kB / 492.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1151, allocations: 64.17 kB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1151, allocations: 0 / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1151, allocations: 0 / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1151, allocations: 0 / 493 MB, free: 8.723 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.0004467/0.1155, allocations: 398.7 kB / 493.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1156, allocations: 8.031 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.1156, allocations: 30.75 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.1157, allocations: 16.75 kB / 493.4 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1159, allocations: 196.1 kB / 493.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1159, allocations: 384 / 493.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1159, allocations: 8.375 kB / 493.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1161, allocations: 57.55 kB / 493.7 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1161, allocations: 7.906 kB / 493.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1161, allocations: 0 / 493.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1161, allocations: 0 / 493.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.225e-05/0.1162, allocations: 23.98 kB / 493.7 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.1166, allocations: 288.9 kB / 494 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1168, allocations: 50.5 kB / 494 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.1169, allocations: 20.94 kB / 494.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1169, allocations: 4 kB / 494.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.117, allocations: 30.56 kB / 494.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.117, allocations: 0 / 494.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005566/0.1175, allocations: 165.3 kB / 494.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1176, allocations: 55.41 kB / 494.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1177, allocations: 186.2 kB / 494.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1178, allocations: 29.7 kB / 494.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.1178, allocations: 108 kB / 494.6 MB, free: 6.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1179, allocations: 19.75 kB / 494.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.1179, allocations: 0 / 494.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.118, allocations: 326.8 kB / 495 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.1181, allocations: 27.98 kB / 495 MB, free: 6.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.1181, allocations: 27.97 kB / 495 MB, free: 6.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1183, allocations: 56.83 kB / 495.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1183, allocations: 3.938 kB / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001909/0.1185, allocations: 93.58 kB / 495.2 MB, free: 6.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1185, allocations: 8 kB / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1185, allocations: 0 / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1185, allocations: 3.938 kB / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.1186, allocations: 15.98 kB / 495.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1186, allocations: 0 / 495.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.1187, allocations: 11.98 kB / 495.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.1187, allocations: 3.938 kB / 495.2 MB, free: 6.258 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.818e-05/0.1188, allocations: 121.8 kB / 495.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.1188, allocations: 7.906 kB / 495.3 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.1191, allocations: 122.1 kB / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1191, allocations: 0 / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1191, allocations: 0 / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1191, allocations: 0 / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.1195, allocations: 370.3 kB / 495.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1195, allocations: 4 kB / 495.8 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.1196, allocations: 15.98 kB / 495.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1196, allocations: 0 / 495.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1196, allocations: 0 / 495.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1196, allocations: 3.938 kB / 495.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1196, allocations: 0 / 495.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1198, allocations: 195.7 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1199, allocations: 85.02 kB / 496.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1199, allocations: 3.984 kB / 496.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.12, allocations: 11.92 kB / 496.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.12, allocations: 4 kB / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.12, allocations: 4 kB / 496.1 MB, free: 5.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1202, allocations: 151.9 kB / 496.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1202, allocations: 3.938 kB / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.1204, allocations: 12 kB / 496.3 MB, free: 5.059 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.001217/0.1216, allocations: 1.028 MB / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1218, allocations: 63.89 kB / 497.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1218, allocations: 0 / 497.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.1219, allocations: 31.98 kB / 497.4 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1222, allocations: 23.86 kB / 497.4 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1233, allocations: 0.7003 MB / 498.1 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1236, allocations: 0.7004 MB / 498.8 MB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.1236, allocations: 35.36 kB / 498.9 MB, free: 2.422 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1237, allocations: 0 / 498.9 MB, free: 2.422 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.595/2.718, allocations: 1.849 MB / 0.489 GB, free: 0.5703 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches