Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29",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.0008148/0.0008151, allocations: 175 kB / 16.72 MB, free: 5.082 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.247/1.247, 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.0007447/0.0007445, allocations: 86.41 kB / 271.2 MB, free: 8.258 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.3101/0.3101, allocations: 43.57 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.0992, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.001646/0.1009, allocations: 1.309 MB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005108/0.1014, allocations: 327.8 kB / 492.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.1015, allocations: 0 / 492.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.1017, allocations: 63.84 kB / 492.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.1019, allocations: 51.81 kB / 492.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.1023, allocations: 139.8 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1024, allocations: 71.75 kB / 492.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1025, allocations: 27.83 kB / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.1026, allocations: 27.92 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.903e-05/0.1027, allocations: 43.81 kB / 493 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1027, allocations: 4 kB / 493 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.324e-05/0.1028, allocations: 16 kB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.1028, allocations: 19.92 kB / 493 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.1029, allocations: 57.5 kB / 493.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.103, allocations: 84.03 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.103, allocations: 3.938 kB / 493.2 MB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.103, allocations: 4 kB / 493.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1031, allocations: 0 / 493.2 MB, free: 8.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004929/0.1036, allocations: 407.1 kB / 493.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1036, allocations: 8.031 kB / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.1036, allocations: 30.75 kB / 493.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.1037, allocations: 12.75 kB / 493.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1039, allocations: 208.8 kB / 493.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.1039, allocations: 384 / 493.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1039, allocations: 8.359 kB / 493.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1041, allocations: 73.55 kB / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1041, allocations: 0 / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1041, allocations: 0 / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1041, allocations: 0 / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1043, allocations: 55.95 kB / 493.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.1048, allocations: 308.8 kB / 494.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1049, allocations: 58.48 kB / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.105, allocations: 32.88 kB / 494.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.105, allocations: 0 / 494.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.1051, allocations: 34.56 kB / 494.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1051, allocations: 0 / 494.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000806/0.1059, allocations: 273 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1059, allocations: 59.34 kB / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1061, allocations: 218.3 kB / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1062, allocations: 25.7 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.1063, allocations: 112.1 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.1063, allocations: 19.66 kB / 495.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.1063, allocations: 4 kB / 495.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1064, allocations: 322.8 kB / 495.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1065, allocations: 47.95 kB / 495.4 MB, free: 5.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1067, allocations: 43.97 kB / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.1069, allocations: 109 kB / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.107, allocations: 0 / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000298/0.1073, allocations: 145.4 kB / 495.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1073, allocations: 7.984 kB / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1073, allocations: 0 / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1073, allocations: 0 / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1074, allocations: 27.98 kB / 495.8 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1075, allocations: 0 / 495.8 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/0.1075, allocations: 19.92 kB / 495.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1075, allocations: 4 kB / 495.8 MB, free: 5.465 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 (7): * Single equations (assignments): 7 * 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 9.881e-05/0.1076, allocations: 129.8 kB / 495.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.1077, allocations: 7.906 kB / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.1081, allocations: 162.9 kB / 496.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1081, allocations: 4 kB / 496.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1081, allocations: 0 / 496.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1081, allocations: 3.938 kB / 496.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.1087, allocations: 430.3 kB / 496.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1087, allocations: 4 kB / 496.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-05/0.1088, allocations: 27.97 kB / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1088, allocations: 4 kB / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1089, allocations: 11.94 kB / 496.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1089, allocations: 0 / 496.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1089, allocations: 0 / 496.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.1092, allocations: 235.4 kB / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.1093, allocations: 88.92 kB / 496.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1093, allocations: 3.938 kB / 496.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.1094, allocations: 23.92 kB / 496.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.1095, allocations: 11.92 kB / 496.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1095, allocations: 3.938 kB / 496.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1097, allocations: 159.2 kB / 497.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1097, allocations: 0 / 497.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.1099, allocations: 19.98 kB / 497.1 MB, free: 4.055 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 (7): * Single equations (assignments): 7 * 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.001512/0.1114, allocations: 1.072 MB / 498.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.1118, allocations: 111.8 kB / 498.3 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1118, allocations: 4 kB / 498.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1119, allocations: 51.97 kB / 498.3 MB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1123, allocations: 19.98 kB / 498.3 MB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1136, allocations: 0.8839 MB / 499.2 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1139, allocations: 0.716 MB / 499.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.114, allocations: 35.42 kB / 500 MB, free: 1.102 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.114, allocations: 0 / 500 MB, free: 1.102 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.781/2.894, allocations: 2.164 MB / 0.4904 GB, free: 42.05 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches