Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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.0008305/0.0008304, 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.171/1.171, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006625/0.0006624, allocations: 86.3 kB / 271.2 MB, free: 8.254 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.2764/0.2764, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003218, allocations: 12 kB / 432.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.0922, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.001644/0.09389, allocations: 1.275 MB / 492.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004641/0.09437, allocations: 315.7 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.09442, allocations: 0 / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.09461, allocations: 27.89 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.09473, allocations: 35.86 kB / 492.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.09496, allocations: 79.89 kB / 492.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.09509, allocations: 63.83 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.09519, allocations: 24.14 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.927e-05/0.09523, allocations: 19.88 kB / 492.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.0953, allocations: 23.91 kB / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.09532, allocations: 0 / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.602e-05/0.09539, allocations: 27.92 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.09543, allocations: 19.98 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.09548, allocations: 45.52 kB / 492.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.905e-05/0.09559, allocations: 64.19 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.0956, allocations: 3.984 kB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.0956, allocations: 0 / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.806e-06/0.09561, allocations: 0 / 492.9 MB, free: 8.535 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003512/0.09597, allocations: 379.1 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.09601, allocations: 8.031 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.09605, allocations: 42.67 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.09607, allocations: 12.84 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.09623, allocations: 192.2 kB / 493.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.09625, allocations: 4.375 kB / 493.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.09627, allocations: 12.03 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.09641, allocations: 75.33 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.09643, allocations: 0 / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.09645, allocations: 8 kB / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.09647, allocations: 7.938 kB / 493.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.741e-05/0.09657, allocations: 35.97 kB / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.09697, allocations: 385 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.09722, allocations: 89.22 kB / 494.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.0973, allocations: 37.73 kB / 494.2 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.09733, allocations: 0 / 494.2 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.09735, allocations: 38.56 kB / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.09736, allocations: 0 / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006449/0.09801, allocations: 249.2 kB / 494.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.09806, allocations: 85.05 kB / 494.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.09819, allocations: 153.4 kB / 494.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.09821, allocations: 29.7 kB / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.09826, allocations: 107.9 kB / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.09829, allocations: 27.56 kB / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.0983, allocations: 0 / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.09841, allocations: 326.8 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.0985, allocations: 35.97 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.09859, allocations: 49.69 kB / 495.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.09877, allocations: 101.8 kB / 495.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.09878, allocations: 0 / 495.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002351/0.09902, allocations: 129.5 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.09904, allocations: 4 kB / 495.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.09905, allocations: 7.938 kB / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.09907, allocations: 0 / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.09916, allocations: 27.92 kB / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.09917, allocations: 0 / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.09922, allocations: 12 kB / 495.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.09923, allocations: 3.984 kB / 495.6 MB, free: 5.652 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.281e-05/0.09932, allocations: 121.8 kB / 495.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.09937, allocations: 15.81 kB / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.09966, allocations: 145.9 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.09967, allocations: 3.938 kB / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.09968, allocations: 4 kB / 495.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.09969, allocations: 0 / 495.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.1002, allocations: 0.5065 MB / 496.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1003, allocations: 4 kB / 496.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/0.1003, allocations: 20.17 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1004, allocations: 8.031 kB / 496.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1004, allocations: 3.938 kB / 496.4 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1004, allocations: 0 / 496.4 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1004, allocations: 4 kB / 496.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.1007, allocations: 307.4 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.1007, allocations: 85.02 kB / 496.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1007, allocations: 4 kB / 496.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.1008, allocations: 11.98 kB / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.1009, allocations: 7.938 kB / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1009, allocations: 7.984 kB / 496.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.101, allocations: 123.2 kB / 496.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.101, allocations: 0 / 496.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.1012, allocations: 27.98 kB / 496.9 MB, free: 4.145 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001105/0.1023, allocations: 1.138 MB / 498.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1026, allocations: 91.88 kB / 498.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1026, allocations: 4 kB / 498.2 MB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.1027, allocations: 43.92 kB / 498.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.103, allocations: 19.97 kB / 498.2 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1041, allocations: 0.7488 MB / 499 MB, free: 2.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1043, allocations: 0.6965 MB / 499.7 MB, free: 1.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.1044, allocations: 35.42 kB / 499.7 MB, free: 1.289 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1044, allocations: 0 / 499.7 MB, free: 1.289 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.83/2.934, allocations: 1.91 MB / 0.4899 GB, free: 42.2 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches