Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5",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.0008608/0.0008608, allocations: 173.5 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.159/1.159, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007236/0.0007236, allocations: 94.3 kB / 271.2 MB, free: 8.238 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.2731/0.2731, allocations: 43.57 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 12 kB / 432.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08795/0.08831, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.001512/0.08986, allocations: 1.259 MB / 492.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004596/0.09033, allocations: 303.8 kB / 492.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.09039, allocations: 0 / 492.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.09062, allocations: 95.81 kB / 492.6 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.09075, allocations: 55.84 kB / 492.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.09097, allocations: 87.83 kB / 492.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.09109, allocations: 59.83 kB / 492.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.308e-05/0.09118, allocations: 19.97 kB / 492.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.396e-05/0.09123, allocations: 27.91 kB / 492.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.09131, allocations: 47.81 kB / 492.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.09133, allocations: 0 / 492.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.819e-05/0.0914, allocations: 24 kB / 492.9 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.09144, allocations: 19.92 kB / 492.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.09148, allocations: 45.52 kB / 493 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.09159, allocations: 68.17 kB / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.0916, allocations: 0 / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09161, allocations: 0 / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.09162, allocations: 0 / 493 MB, free: 8.684 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.0003683/0.09199, allocations: 410.9 kB / 493.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.09204, allocations: 11.97 kB / 493.4 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.09207, allocations: 34.75 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.0921, allocations: 8.844 kB / 493.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.09226, allocations: 200.7 kB / 493.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-06/0.09227, allocations: 384 / 493.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.09229, allocations: 384 / 493.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.09241, allocations: 57.62 kB / 493.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.09243, allocations: 4 kB / 493.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.09244, allocations: 0 / 493.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.09245, allocations: 0 / 493.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.09254, allocations: 27.92 kB / 493.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.09287, allocations: 296.8 kB / 494 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.09305, allocations: 46.55 kB / 494.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.09311, allocations: 24.8 kB / 494.1 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.09314, allocations: 3.984 kB / 494.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.09316, allocations: 34.56 kB / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.09316, allocations: 0 / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005213/0.09369, allocations: 173.3 kB / 494.3 MB, free: 7.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.09373, allocations: 55.41 kB / 494.4 MB, free: 7.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.09391, allocations: 218.3 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.09393, allocations: 25.7 kB / 494.6 MB, free: 6.879 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.09399, allocations: 112 kB / 494.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.09401, allocations: 15.75 kB / 494.7 MB, free: 6.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.09402, allocations: 0 / 494.7 MB, free: 6.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.09411, allocations: 326.8 kB / 495.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.0942, allocations: 27.98 kB / 495.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.09426, allocations: 23.98 kB / 495.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.0944, allocations: 60.81 kB / 495.2 MB, free: 6.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.09441, allocations: 4 kB / 495.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001738/0.09459, allocations: 97.52 kB / 495.3 MB, free: 6.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.09461, allocations: 7.281 kB / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.09462, allocations: 0 / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.09464, allocations: 0 / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.0947, allocations: 23.92 kB / 495.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.09471, allocations: 0 / 495.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.894e-05/0.09476, allocations: 12.23 kB / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.09477, allocations: 7.938 kB / 495.3 MB, free: 6.156 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 8.001e-05/0.09486, allocations: 125.8 kB / 495.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.09489, allocations: 12.09 kB / 495.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.09512, allocations: 114.6 kB / 495.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.09514, allocations: 7.984 kB / 495.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.09514, allocations: 0 / 495.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.09515, allocations: 3.938 kB / 495.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.09553, allocations: 374.5 kB / 495.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.09555, allocations: 0 / 495.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.0956, allocations: 12 kB / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.09561, allocations: 3.938 kB / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.09562, allocations: 0 / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.09563, allocations: 3.938 kB / 496 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.09563, allocations: 4 kB / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.09584, allocations: 187.4 kB / 496.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.0959, allocations: 96.91 kB / 496.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.09591, allocations: 0 / 496.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.09599, allocations: 11.94 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.09602, allocations: 3.984 kB / 496.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.09603, allocations: 8 kB / 496.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.09615, allocations: 167.2 kB / 496.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09616, allocations: 0 / 496.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.09637, allocations: 15.98 kB / 496.4 MB, free: 4.91 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.001043/0.09742, allocations: 1.028 MB / 497.5 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.09761, allocations: 59.95 kB / 497.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09762, allocations: 4 kB / 497.5 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.09771, allocations: 35.92 kB / 497.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.09799, allocations: 15.92 kB / 497.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.09901, allocations: 0.7845 MB / 498.4 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.09925, allocations: 0.7041 MB / 499.1 MB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.09931, allocations: 31.42 kB / 499.1 MB, free: 2.199 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09931, allocations: 3.938 kB / 499.1 MB, free: 2.195 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.648/2.747, allocations: 1.985 MB / 0.4894 GB, free: 212 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches