Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",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.001146/0.001146, allocations: 175.5 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.178/1.178, allocations: 205.4 MB / 222.9 MB, free: 8.988 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.0007814/0.0007814, allocations: 92.95 kB / 271.2 MB, free: 8.219 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.2843/0.2843, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 12 kB / 432.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09515, allocations: 58.85 MB / 490.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.001433/0.09661, allocations: 1.247 MB / 492.2 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000438/0.09706, allocations: 303.7 kB / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.09711, allocations: 0 / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.09729, allocations: 27.91 kB / 492.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.09741, allocations: 23.92 kB / 492.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.0976, allocations: 71.84 kB / 492.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.914e-05/0.09771, allocations: 43.84 kB / 492.6 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.0978, allocations: 19.98 kB / 492.7 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.09784, allocations: 19.92 kB / 492.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.09789, allocations: 19.84 kB / 492.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.09791, allocations: 4 kB / 492.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.28e-05/0.09797, allocations: 20 kB / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.09801, allocations: 11.92 kB / 492.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.09805, allocations: 41.58 kB / 492.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.09816, allocations: 64.17 kB / 492.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.09817, allocations: 0 / 492.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09818, allocations: 4 kB / 492.8 MB, free: 8.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.09819, allocations: 4 kB / 492.8 MB, free: 8.832 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.0003316/0.09853, allocations: 379.1 kB / 493.2 MB, free: 8.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.09856, allocations: 12.03 kB / 493.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.0986, allocations: 30.75 kB / 493.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.09863, allocations: 12.83 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.09878, allocations: 188.2 kB / 493.4 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.09879, allocations: 384 / 493.4 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.09881, allocations: 12.28 kB / 493.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.09893, allocations: 53.62 kB / 493.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.09895, allocations: 3.984 kB / 493.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.09896, allocations: 0 / 493.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.09897, allocations: 0 / 493.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.049e-05/0.09906, allocations: 27.92 kB / 493.5 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.09933, allocations: 280.8 kB / 493.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.0995, allocations: 42.56 kB / 493.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.09955, allocations: 20.86 kB / 493.9 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.09958, allocations: 8.062 kB / 493.9 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.0996, allocations: 38.5 kB / 493.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.0996, allocations: 0 / 493.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004822/0.1001, allocations: 153.3 kB / 494.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.1001, allocations: 55.34 kB / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1003, allocations: 165.7 kB / 494.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1003, allocations: 29.7 kB / 494.3 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.1003, allocations: 92.14 kB / 494.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.1004, allocations: 27.66 kB / 494.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.1004, allocations: 4 kB / 494.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.1005, allocations: 318.8 kB / 494.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.1006, allocations: 23.98 kB / 494.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.616e-05/0.1006, allocations: 23.97 kB / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1007, allocations: 52.84 kB / 494.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1008, allocations: 0 / 494.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001732/0.1009, allocations: 89.58 kB / 494.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.101, allocations: 11.92 kB / 494.9 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.101, allocations: 3.938 kB / 495 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.101, allocations: 0 / 495 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/0.101, allocations: 16 kB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.101, allocations: 0 / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.1011, allocations: 11.89 kB / 495 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1011, allocations: 7.938 kB / 495 MB, free: 6.453 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.44e-05/0.1012, allocations: 113.8 kB / 495.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1012, allocations: 7.906 kB / 495.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.1014, allocations: 106.2 kB / 495.2 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1014, allocations: 7.922 kB / 495.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1014, allocations: 0 / 495.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1014, allocations: 0 / 495.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.1018, allocations: 350.5 kB / 495.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1018, allocations: 0 / 495.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.1019, allocations: 15.98 kB / 495.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1019, allocations: 0 / 495.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1019, allocations: 8 kB / 495.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1019, allocations: 3.938 kB / 495.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1019, allocations: 0 / 495.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1022, allocations: 187.4 kB / 495.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.1022, allocations: 85 kB / 495.9 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1022, allocations: 0 / 495.9 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.1023, allocations: 11.94 kB / 495.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1023, allocations: 7.984 kB / 495.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1023, allocations: 4 kB / 495.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.654e-05/0.1024, allocations: 130.7 kB / 496 MB, free: 5.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1024, allocations: 0 / 496 MB, free: 5.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.1026, allocations: 16 kB / 496 MB, free: 5.312 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.001055/0.1037, allocations: 1.024 MB / 497 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1039, allocations: 51.97 kB / 497.1 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1039, allocations: 0 / 497.1 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.869e-05/0.104, allocations: 31.92 kB / 497.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1042, allocations: 19.92 kB / 497.1 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008821/0.1051, allocations: 0.6217 MB / 497.8 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1054, allocations: 0.7042 MB / 498.5 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1054, allocations: 23.42 kB / 498.5 MB, free: 2.777 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1054, allocations: 0 / 498.5 MB, free: 2.777 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.609/2.715, allocations: 1.708 MB / 0.4885 GB, free: 1.066 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches