Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.0008751/0.0008751, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.181/1.181, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006614/0.0006614, allocations: 89.5 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.2663/0.2663, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 16 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08812, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001539/0.08969, allocations: 1.263 MB / 492.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.09015, allocations: 291.8 kB / 492.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.0902, allocations: 0 / 492.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.09043, allocations: 87.81 kB / 492.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.09058, allocations: 63.8 kB / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.09079, allocations: 55.92 kB / 492.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.09091, allocations: 55.83 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.091, allocations: 19.97 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.09105, allocations: 31.84 kB / 492.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.09114, allocations: 39.89 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.09116, allocations: 0 / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.09123, allocations: 27.98 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.09127, allocations: 19.92 kB / 492.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.09132, allocations: 49.45 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.09143, allocations: 72.17 kB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.09144, allocations: 0 / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09144, allocations: 0 / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.09145, allocations: 0 / 493 MB, free: 8.477 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.0003795/0.09184, allocations: 403 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.09188, allocations: 8.031 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.09191, allocations: 34.69 kB / 493.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.09194, allocations: 12.84 kB / 493.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.09211, allocations: 200.7 kB / 493.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.09212, allocations: 4.375 kB / 493.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.09215, allocations: 4.312 kB / 493.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.09229, allocations: 57.62 kB / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.0923, allocations: 0 / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.09232, allocations: 0 / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.09232, allocations: 0 / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.09241, allocations: 27.98 kB / 493.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.09273, allocations: 284.8 kB / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.09292, allocations: 50.5 kB / 494 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.09298, allocations: 12.86 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.09301, allocations: 4.078 kB / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.09303, allocations: 34.56 kB / 494.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.785e-06/0.09304, allocations: 4 kB / 494.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004946/0.09354, allocations: 157.4 kB / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.09358, allocations: 59.41 kB / 494.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.09376, allocations: 222.3 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.09378, allocations: 25.7 kB / 494.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.09383, allocations: 104 kB / 494.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.09386, allocations: 23.72 kB / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.09387, allocations: 0 / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.09397, allocations: 326.8 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.09404, allocations: 27.98 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.09411, allocations: 19.98 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.09424, allocations: 56.97 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.09424, allocations: 0 / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000177/0.09443, allocations: 97.66 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.09445, allocations: 4 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.09446, allocations: 3.938 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.09448, allocations: 3.984 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.09454, allocations: 15.98 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.09455, allocations: 4 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.0946, allocations: 4 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.09461, allocations: 7.938 kB / 495.2 MB, free: 5.992 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.84e-05/0.09469, allocations: 129.8 kB / 495.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.09473, allocations: 11.81 kB / 495.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.09495, allocations: 102.7 kB / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.09496, allocations: 0 / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.09497, allocations: 0 / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.09498, allocations: 0 / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.09537, allocations: 370.4 kB / 495.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.09538, allocations: 4 kB / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.09544, allocations: 11.98 kB / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.09545, allocations: 4 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.09546, allocations: 0 / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.09547, allocations: 3.938 kB / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09547, allocations: 0 / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.09569, allocations: 187.6 kB / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.09575, allocations: 96.91 kB / 496.1 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.09577, allocations: 0 / 496.1 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.09584, allocations: 11.88 kB / 496.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.09588, allocations: 7.984 kB / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.09589, allocations: 0 / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.09602, allocations: 175.2 kB / 496.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09603, allocations: 0 / 496.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.09625, allocations: 19.98 kB / 496.4 MB, free: 4.766 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.001069/0.09732, allocations: 1.016 MB / 497.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.09751, allocations: 55.91 kB / 497.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.09752, allocations: 0 / 497.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.901e-05/0.09759, allocations: 27.98 kB / 497.5 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.09787, allocations: 19.92 kB / 497.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.09889, allocations: 0.7608 MB / 498.2 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.09914, allocations: 0.7079 MB / 498.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.0992, allocations: 35.42 kB / 499 MB, free: 2.094 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.0992, allocations: 0 / 499 MB, free: 2.094 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.664/2.763, allocations: 1.942 MB / 0.4892 GB, free: 152 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches