Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28",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.000974/0.0009739, allocations: 177.8 kB / 16.72 MB, free: 4.961 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.23/1.23, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.000743/0.0007431, allocations: 85.19 kB / 271.2 MB, free: 8.242 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.2977/0.2977, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004027, allocations: 12 kB / 432.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.001744/0.1049, allocations: 1.309 MB / 492.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005616/0.1055, allocations: 315.9 kB / 492.5 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.1056, allocations: 11.94 kB / 492.6 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1058, allocations: 51.86 kB / 492.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1059, allocations: 47.88 kB / 492.6 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.1063, allocations: 147.7 kB / 492.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1064, allocations: 63.83 kB / 492.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.1065, allocations: 19.84 kB / 492.9 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.1066, allocations: 35.78 kB / 492.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.1067, allocations: 27.91 kB / 492.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1067, allocations: 4 kB / 492.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.1068, allocations: 35.92 kB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1068, allocations: 19.97 kB / 493 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.1069, allocations: 53.45 kB / 493 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.107, allocations: 72.05 kB / 493.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.107, allocations: 4 kB / 493.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.107, allocations: 0 / 493.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.107, allocations: 0 / 493.1 MB, free: 8.574 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.0004153/0.1075, allocations: 395.1 kB / 493.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1075, allocations: 12.03 kB / 493.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.1076, allocations: 34.75 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.1076, allocations: 12.84 kB / 493.6 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1078, allocations: 196.1 kB / 493.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1078, allocations: 8.312 kB / 493.8 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1078, allocations: 4.375 kB / 493.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1079, allocations: 65.59 kB / 493.8 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.108, allocations: 4 kB / 493.8 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.108, allocations: 8 kB / 493.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.108, allocations: 0 / 493.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.1081, allocations: 39.97 kB / 493.9 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.1085, allocations: 324.6 kB / 494.2 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1087, allocations: 58.48 kB / 494.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.361e-05/0.1088, allocations: 28.94 kB / 494.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.1088, allocations: 4 kB / 494.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1088, allocations: 30.56 kB / 494.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1088, allocations: 0 / 494.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007638/0.1096, allocations: 265.4 kB / 494.6 MB, free: 6.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.1096, allocations: 51.41 kB / 494.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1098, allocations: 194.2 kB / 494.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1098, allocations: 25.7 kB / 494.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.1099, allocations: 112 kB / 495 MB, free: 6.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1099, allocations: 19.7 kB / 495 MB, free: 6.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.1099, allocations: 4 kB / 495 MB, free: 6.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.11, allocations: 322.8 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1102, allocations: 47.97 kB / 495.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1103, allocations: 39.97 kB / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.1105, allocations: 117 kB / 495.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1105, allocations: 4 kB / 495.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000281/0.1108, allocations: 141.4 kB / 495.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1108, allocations: 7.594 kB / 495.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1108, allocations: 3.938 kB / 495.6 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.1109, allocations: 4 kB / 495.7 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.111, allocations: 27.97 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.111, allocations: 0 / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.1111, allocations: 23.92 kB / 495.7 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1111, allocations: 0 / 495.7 MB, free: 5.766 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 8.192e-05/0.1112, allocations: 133.8 kB / 495.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.1112, allocations: 7.906 kB / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.1115, allocations: 158.3 kB / 496 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1116, allocations: 0 / 496 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1116, allocations: 0 / 496 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1116, allocations: 3.938 kB / 496 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.1121, allocations: 434.4 kB / 496.4 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1121, allocations: 0 / 496.4 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.611e-05/0.1122, allocations: 23.97 kB / 496.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1122, allocations: 4 kB / 496.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1123, allocations: 3.938 kB / 496.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1123, allocations: 0 / 496.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1123, allocations: 4 kB / 496.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.1127, allocations: 243.2 kB / 496.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.1127, allocations: 89.02 kB / 496.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1128, allocations: 3.938 kB / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.1129, allocations: 11.98 kB / 496.8 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.1129, allocations: 11.97 kB / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1129, allocations: 4 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1131, allocations: 159.9 kB / 497 MB, free: 4.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1131, allocations: 4 kB / 497 MB, free: 4.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.1133, allocations: 16 kB / 497 MB, free: 4.375 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.001479/0.1148, allocations: 1.074 MB / 498.1 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.1151, allocations: 115.9 kB / 498.2 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1152, allocations: 0 / 498.2 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.1153, allocations: 59.91 kB / 498.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.1156, allocations: 15.98 kB / 498.2 MB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1169, allocations: 0.828 MB / 499.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1172, allocations: 0.7043 MB / 499.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.1173, allocations: 31.44 kB / 499.8 MB, free: 1.484 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1173, allocations: 0 / 499.8 MB, free: 1.484 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.75/2.867, allocations: 2.101 MB / 0.4901 GB, free: 42.34 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches