Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",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.0008017/0.0008018, allocations: 175.5 kB / 16.72 MB, free: 5.074 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.141/1.141, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0007244/0.0007243, allocations: 93.33 kB / 271.2 MB, free: 8.25 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.278/0.278, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 16 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09828, allocations: 58.86 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.001516/0.09984, allocations: 1.251 MB / 492.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004401/0.1003, allocations: 295.8 kB / 492.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.1003, allocations: 4 kB / 492.5 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.1006, allocations: 63.84 kB / 492.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.1007, allocations: 67.8 kB / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1009, allocations: 51.94 kB / 492.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.101, allocations: 59.81 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.987e-05/0.1011, allocations: 15.97 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.1011, allocations: 27.86 kB / 492.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.1012, allocations: 43.88 kB / 492.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1012, allocations: 4 kB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.1013, allocations: 24 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/0.1014, allocations: 23.91 kB / 492.9 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.1014, allocations: 45.52 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.1015, allocations: 64.19 kB / 493 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1015, allocations: 0 / 493 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1015, allocations: 0 / 493 MB, free: 8.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.075e-06/0.1015, allocations: 0 / 493 MB, free: 8.504 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.0003722/0.1019, allocations: 399 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1019, allocations: 12.03 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.102, allocations: 30.75 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.102, allocations: 12.84 kB / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1022, allocations: 196.1 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-06/0.1022, allocations: 384 / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1022, allocations: 4.375 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1023, allocations: 53.62 kB / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1023, allocations: 3.984 kB / 493.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.1023, allocations: 0 / 493.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1024, allocations: 4 kB / 493.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.1024, allocations: 27.92 kB / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.1027, allocations: 276.9 kB / 494 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1029, allocations: 46.56 kB / 494 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.103, allocations: 16.94 kB / 494 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.103, allocations: 7.938 kB / 494 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.103, allocations: 30.56 kB / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.103, allocations: 0 / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004796/0.1035, allocations: 169.1 kB / 494.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.1035, allocations: 51.41 kB / 494.3 MB, free: 7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1037, allocations: 198.2 kB / 494.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.1037, allocations: 29.7 kB / 494.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.1038, allocations: 104.1 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.1038, allocations: 15.72 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.1038, allocations: 3.938 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.1039, allocations: 330.8 kB / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.1039, allocations: 15.98 kB / 495 MB, free: 6.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/0.104, allocations: 27.98 kB / 495 MB, free: 6.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1041, allocations: 52.83 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1041, allocations: 0 / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000169/0.1043, allocations: 97.7 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1043, allocations: 4 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1043, allocations: 0 / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.1044, allocations: 3.938 kB / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.1044, allocations: 15.98 kB / 495.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1044, allocations: 0 / 495.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.1045, allocations: 11.98 kB / 495.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1045, allocations: 7.938 kB / 495.2 MB, free: 6.062 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.822e-05/0.1046, allocations: 125.8 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.1046, allocations: 7.906 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.1048, allocations: 101.9 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1048, allocations: 288 / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1048, allocations: 4 kB / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1048, allocations: 0 / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.1052, allocations: 366.4 kB / 495.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1052, allocations: 0 / 495.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.1053, allocations: 19.98 kB / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1053, allocations: 0 / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1053, allocations: 3.938 kB / 495.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1053, allocations: 3.938 kB / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1053, allocations: 0 / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1055, allocations: 191.5 kB / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.1055, allocations: 89.02 kB / 496.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1056, allocations: 4.062 kB / 496.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.1056, allocations: 11.92 kB / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.1057, allocations: 4 kB / 496.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1057, allocations: 0 / 496.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1058, allocations: 164 kB / 496.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1058, allocations: 0 / 496.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.106, allocations: 23.98 kB / 496.3 MB, free: 4.859 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.001027/0.1071, allocations: 1.012 MB / 497.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.1072, allocations: 55.97 kB / 497.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1072, allocations: 0 / 497.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.199e-05/0.1073, allocations: 27.92 kB / 497.4 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.1076, allocations: 23.92 kB / 497.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.1085, allocations: 0.7111 MB / 498.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.1087, allocations: 0.7004 MB / 498.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.1088, allocations: 35.36 kB / 498.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1088, allocations: 4 kB / 498.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.641/2.75, allocations: 1.864 MB / 0.489 GB, free: 372 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches