Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7",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.000849/0.000849, allocations: 175.3 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.098/1.098, 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.0007119/0.0007119, allocations: 84.98 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.2707/0.2707, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 8 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08887, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.001567/0.09047, allocations: 1.255 MB / 492.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004528/0.09093, allocations: 311.7 kB / 492.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.09098, allocations: 0 / 492.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.09115, allocations: 19.92 kB / 492.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.09127, allocations: 31.91 kB / 492.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.09148, allocations: 75.83 kB / 492.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.09159, allocations: 47.84 kB / 492.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.247e-05/0.09167, allocations: 15.97 kB / 492.7 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.09171, allocations: 19.94 kB / 492.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.09176, allocations: 15.86 kB / 492.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.09178, allocations: 4 kB / 492.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.09185, allocations: 31.97 kB / 492.7 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.09189, allocations: 15.94 kB / 492.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.09193, allocations: 41.58 kB / 492.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.111e-05/0.09203, allocations: 52.19 kB / 492.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09204, allocations: 0 / 492.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09204, allocations: 0 / 492.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.09205, allocations: 0 / 492.8 MB, free: 8.84 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.0003464/0.0924, allocations: 391.1 kB / 493.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.09244, allocations: 8.031 kB / 493.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.699e-05/0.09247, allocations: 30.75 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.112e-05/0.0925, allocations: 8.844 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.09265, allocations: 188.2 kB / 493.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.09266, allocations: 4.375 kB / 493.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.09268, allocations: 384 / 493.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.0928, allocations: 57.61 kB / 493.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.09281, allocations: 4 kB / 493.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.09282, allocations: 0 / 493.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.09284, allocations: 4 kB / 493.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-05/0.09293, allocations: 23.98 kB / 493.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.09326, allocations: 288.7 kB / 493.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.09344, allocations: 50.56 kB / 493.9 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.09349, allocations: 16.94 kB / 493.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.09352, allocations: 4 kB / 493.9 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.09354, allocations: 34.5 kB / 493.9 MB, free: 7.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.09355, allocations: 4 kB / 493.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004921/0.09404, allocations: 161.3 kB / 494.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.09408, allocations: 59.41 kB / 494.2 MB, free: 7.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.09421, allocations: 161 kB / 494.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.09423, allocations: 25.7 kB / 494.3 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.09428, allocations: 96.12 kB / 494.4 MB, free: 7.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.0943, allocations: 11.81 kB / 494.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.09431, allocations: 0 / 494.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.0944, allocations: 326.8 kB / 494.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.09448, allocations: 31.92 kB / 494.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.833e-05/0.09454, allocations: 23.98 kB / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.09468, allocations: 52.83 kB / 494.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.09469, allocations: 0 / 494.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.09488, allocations: 101.8 kB / 495 MB, free: 6.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.0949, allocations: 8 kB / 495 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.09491, allocations: 3.938 kB / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.09492, allocations: 0 / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.09498, allocations: 15.98 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.095, allocations: 7.938 kB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.09504, allocations: 11.88 kB / 495 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.09505, allocations: 8 kB / 495 MB, free: 6.438 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.083e-05/0.09513, allocations: 117.8 kB / 495.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.09516, allocations: 7.906 kB / 495.1 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.09538, allocations: 102 kB / 495.2 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.09539, allocations: 4 kB / 495.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.0954, allocations: 0 / 495.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.09541, allocations: 3.938 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.09578, allocations: 366.5 kB / 495.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.09579, allocations: 0 / 495.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.09585, allocations: 15.98 kB / 495.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.09586, allocations: 0 / 495.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.09587, allocations: 3.938 kB / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.09588, allocations: 0 / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.09588, allocations: 0 / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.09609, allocations: 195.5 kB / 495.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.09614, allocations: 85.02 kB / 495.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.09617, allocations: 12 kB / 495.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.09623, allocations: 7.984 kB / 495.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.09627, allocations: 0 / 495.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.09628, allocations: 4 kB / 495.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.867e-05/0.09635, allocations: 123.2 kB / 496.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09636, allocations: 3.938 kB / 496.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000223/0.09658, allocations: 12 kB / 496.1 MB, free: 5.285 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.001054/0.09764, allocations: 1.017 MB / 497.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.09783, allocations: 71.83 kB / 497.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.09785, allocations: 4 kB / 497.2 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/0.09793, allocations: 31.98 kB / 497.2 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.0982, allocations: 11.98 kB / 497.2 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008596/0.09907, allocations: 0.6285 MB / 497.8 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.09929, allocations: 0.7005 MB / 498.5 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.09934, allocations: 23.42 kB / 498.6 MB, free: 2.742 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.09934, allocations: 0 / 498.6 MB, free: 2.742 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.547/2.647, allocations: 1.677 MB / 0.4885 GB, free: 1.062 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches