Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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.0008858/0.0008858, allocations: 175.4 kB / 16.72 MB, free: 5.059 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.134/1.134, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0006641/0.0006642, allocations: 89.41 kB / 271.2 MB, free: 8.246 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.2617/0.2617, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 19.98 kB / 432.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08501/0.08537, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.001615/0.08702, allocations: 1.255 MB / 492.2 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004874/0.08753, allocations: 311.7 kB / 492.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.08759, allocations: 0 / 492.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.08777, allocations: 23.91 kB / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.0879, allocations: 27.92 kB / 492.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.08816, allocations: 83.77 kB / 492.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.08827, allocations: 51.84 kB / 492.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.928e-05/0.08836, allocations: 15.97 kB / 492.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.08841, allocations: 23.92 kB / 492.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.08847, allocations: 15.86 kB / 492.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.08849, allocations: 0 / 492.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.08856, allocations: 31.98 kB / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.0886, allocations: 15.94 kB / 492.8 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.08865, allocations: 45.56 kB / 492.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.888e-05/0.08875, allocations: 56.19 kB / 492.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.08876, allocations: 0 / 492.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08877, allocations: 0 / 492.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.08878, allocations: 0 / 492.9 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.0003726/0.08916, allocations: 387.1 kB / 493.2 MB, free: 8.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.0892, allocations: 12.03 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.08923, allocations: 34.69 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.08926, allocations: 8.844 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.08942, allocations: 188.2 kB / 493.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.08944, allocations: 4.375 kB / 493.5 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.08946, allocations: 12.28 kB / 493.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.08959, allocations: 49.62 kB / 493.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.08962, allocations: 4 kB / 493.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.08963, allocations: 0 / 493.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.08964, allocations: 0 / 493.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.08973, allocations: 31.97 kB / 493.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.09008, allocations: 284.8 kB / 493.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.09026, allocations: 54.55 kB / 493.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.09032, allocations: 16.94 kB / 493.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.09035, allocations: 3.984 kB / 493.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.09038, allocations: 38.56 kB / 494 MB, free: 7.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.09039, allocations: 0 / 494 MB, free: 7.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005049/0.0909, allocations: 161.3 kB / 494.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.09095, allocations: 55.41 kB / 494.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.09108, allocations: 177.1 kB / 494.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.09111, allocations: 25.7 kB / 494.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.09116, allocations: 100.1 kB / 494.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.09118, allocations: 19.69 kB / 494.5 MB, free: 7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.09119, allocations: 0 / 494.5 MB, free: 7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.09129, allocations: 326.8 kB / 494.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.09137, allocations: 27.98 kB / 494.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.09144, allocations: 23.98 kB / 494.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.09158, allocations: 56.83 kB / 494.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.09159, allocations: 0 / 494.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001815/0.09177, allocations: 97.56 kB / 495 MB, free: 6.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.09179, allocations: 4 kB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.0918, allocations: 0 / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.09182, allocations: 0 / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.09189, allocations: 23.86 kB / 495 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.0919, allocations: 0 / 495 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.09195, allocations: 15.91 kB / 495.1 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.09197, allocations: 7.938 kB / 495.1 MB, free: 6.41 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.786e-05/0.09204, allocations: 117.8 kB / 495.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.09207, allocations: 7.906 kB / 495.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.0923, allocations: 110.2 kB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.09231, allocations: 0 / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.09232, allocations: 0 / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.09233, allocations: 0 / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.09271, allocations: 366.4 kB / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.09273, allocations: 4 kB / 495.7 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.09278, allocations: 15.98 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.09279, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.0928, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.09281, allocations: 3.938 kB / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.09281, allocations: 0 / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.09303, allocations: 199.4 kB / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.09308, allocations: 81.02 kB / 496 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.0931, allocations: 4 kB / 496 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.09317, allocations: 11.92 kB / 496 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.09321, allocations: 4 kB / 496 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.09322, allocations: 4 kB / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.896e-05/0.0933, allocations: 131.2 kB / 496.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09331, allocations: 0 / 496.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.09354, allocations: 12 kB / 496.1 MB, free: 5.25 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.00109/0.09463, allocations: 1.028 MB / 497.1 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.09482, allocations: 55.97 kB / 497.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.09483, allocations: 0 / 497.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.09491, allocations: 31.98 kB / 497.2 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.0952, allocations: 19.92 kB / 497.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009541/0.09616, allocations: 0.6451 MB / 497.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.09641, allocations: 0.7043 MB / 498.6 MB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.09647, allocations: 31.42 kB / 498.6 MB, free: 2.676 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.09647, allocations: 0 / 498.6 MB, free: 2.676 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.593/2.689, allocations: 1.736 MB / 0.4886 GB, free: 0.9375 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches