Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31",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.0008257/0.0008258, allocations: 175.2 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.141/1.141, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0007074/0.0007074, allocations: 93.53 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.2681/0.2681, allocations: 43.55 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 16 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.0917, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.001728/0.09347, allocations: 1.255 MB / 492.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005475/0.09404, allocations: 307.8 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.09412, allocations: 0 / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.09441, allocations: 119.8 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.09459, allocations: 83.77 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.09486, allocations: 75.89 kB / 492.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.09501, allocations: 71.81 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.0951, allocations: 11.97 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.09518, allocations: 43.83 kB / 492.9 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.0953, allocations: 63.86 kB / 492.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.09532, allocations: 4 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.177e-05/0.0954, allocations: 23.92 kB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.09545, allocations: 27.91 kB / 493 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.09551, allocations: 53.45 kB / 493 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.09564, allocations: 72.17 kB / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09565, allocations: 0 / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09566, allocations: 0 / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.09567, allocations: 4 kB / 493.1 MB, free: 8.336 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.0004493/0.09613, allocations: 414.8 kB / 493.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.09617, allocations: 12.03 kB / 493.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.09622, allocations: 30.75 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.09626, allocations: 8.844 kB / 493.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.09645, allocations: 215.7 kB / 493.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.09647, allocations: 384 / 493.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.09649, allocations: 384 / 493.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.09663, allocations: 61.56 kB / 493.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.09666, allocations: 11.98 kB / 493.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.09667, allocations: 0 / 493.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.09668, allocations: 0 / 493.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.078e-05/0.09677, allocations: 27.97 kB / 493.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.09717, allocations: 300.8 kB / 494.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.09737, allocations: 46.5 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.09743, allocations: 20.94 kB / 494.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.09746, allocations: 4 kB / 494.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.09749, allocations: 30.56 kB / 494.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.0975, allocations: 4 kB / 494.3 MB, free: 7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005465/0.09805, allocations: 181 kB / 494.5 MB, free: 6.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.09812, allocations: 55.41 kB / 494.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.09836, allocations: 259.3 kB / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.09839, allocations: 25.7 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.09845, allocations: 116.1 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.09848, allocations: 19.75 kB / 494.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.09849, allocations: 0 / 494.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.0986, allocations: 326.8 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.09869, allocations: 27.98 kB / 495.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.09876, allocations: 27.97 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.09891, allocations: 60.77 kB / 495.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.09892, allocations: 4 kB / 495.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001868/0.09911, allocations: 97.48 kB / 495.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.09913, allocations: 4 kB / 495.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.09914, allocations: 3.984 kB / 495.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.09916, allocations: 0 / 495.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.09923, allocations: 15.94 kB / 495.5 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.09925, allocations: 4 kB / 495.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.09929, allocations: 11.98 kB / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.09931, allocations: 3.938 kB / 495.5 MB, free: 5.727 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 9.085e-05/0.09941, allocations: 133.8 kB / 495.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.09944, allocations: 11.81 kB / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.09968, allocations: 122.5 kB / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.0997, allocations: 0 / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.09971, allocations: 320 / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.09971, allocations: 0 / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.1001, allocations: 382.4 kB / 496.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1001, allocations: 0 / 496.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.1002, allocations: 19.98 kB / 496.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1002, allocations: 0 / 496.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1002, allocations: 4 kB / 496.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1002, allocations: 3.938 kB / 496.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1002, allocations: 0 / 496.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1005, allocations: 195.3 kB / 496.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.1005, allocations: 89 kB / 496.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1005, allocations: 4 kB / 496.4 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.1006, allocations: 7.938 kB / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1006, allocations: 7.984 kB / 496.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.1007, allocations: 7.938 kB / 496.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1008, allocations: 203.4 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1008, allocations: 0 / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.101, allocations: 15.98 kB / 496.7 MB, free: 4.434 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.00116/0.1022, allocations: 1.032 MB / 497.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1024, allocations: 63.89 kB / 497.8 MB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1024, allocations: 8 kB / 497.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.1025, allocations: 27.98 kB / 497.8 MB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.1028, allocations: 15.92 kB / 497.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.104, allocations: 0.8743 MB / 498.7 MB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1042, allocations: 0.7199 MB / 499.4 MB, free: 1.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.1043, allocations: 35.42 kB / 499.5 MB, free: 1.602 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1043, allocations: 3.938 kB / 499.5 MB, free: 1.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.79/2.895, allocations: 2.182 MB / 0.4899 GB, free: 42.29 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches