Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 200 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.5 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007917/0.0007917, allocations: 99.81 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2975/0.2975, allocations: 44.82 MB / 392.3 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3123, allocations: 62.96 MB / 0.516 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.001413/0.3138, allocations: 1.306 MB / 0.5172 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006384/0.3144, allocations: 0.4925 MB / 0.5177 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.3145, allocations: 3.938 kB / 0.5177 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.3147, allocations: 128.9 kB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.3149, allocations: 112.9 kB / 0.518 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.3151, allocations: 78.83 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.3153, allocations: 74.55 kB / 0.5181 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.3154, allocations: 24.62 kB / 0.5181 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.3154, allocations: 37.39 kB / 0.5182 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.96e-05/0.3155, allocations: 66.7 kB / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3155, allocations: 2.938 kB / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.819e-05/0.3156, allocations: 32.73 kB / 0.5183 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.3156, allocations: 31.52 kB / 0.5183 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.3157, allocations: 55.3 kB / 0.5183 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.3158, allocations: 90.17 kB / 0.5184 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3158, allocations: 4 kB / 0.5184 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3158, allocations: 0 / 0.5184 GB, free: 35.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.3158, allocations: 0 / 0.5184 GB, free: 35.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003347/0.3162, allocations: 418.2 kB / 0.5188 GB, free: 35.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3162, allocations: 10.97 kB / 0.5188 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.363e-05/0.3162, allocations: 38.62 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.3163, allocations: 14.09 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3164, allocations: 211.2 kB / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.3164, allocations: 4.375 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.3165, allocations: 12.19 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3166, allocations: 53.23 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3166, allocations: 7.844 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3166, allocations: 3 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3166, allocations: 0 / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.3167, allocations: 32.41 kB / 0.5192 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.317, allocations: 302.1 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.778e-05/0.3171, allocations: 42.97 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.3171, allocations: 17.89 kB / 0.5195 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3172, allocations: 3 kB / 0.5195 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.3172, allocations: 41.78 kB / 0.5196 GB, free: 34.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3172, allocations: 0 / 0.5196 GB, free: 34.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007411/0.3179, allocations: 259.4 kB / 0.5198 GB, free: 34.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.318, allocations: 51.41 kB / 0.5199 GB, free: 34.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.3182, allocations: 283.9 kB / 0.5202 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.3182, allocations: 25.7 kB / 0.5202 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.3182, allocations: 112.5 kB / 0.5203 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.3183, allocations: 30.09 kB / 0.5203 GB, free: 34.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.3183, allocations: 4 kB / 0.5203 GB, free: 34.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.3183, allocations: 327.3 kB / 0.5206 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.3184, allocations: 29.14 kB / 0.5207 GB, free: 33.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.3185, allocations: 29.25 kB / 0.5207 GB, free: 33.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3186, allocations: 67.86 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3186, allocations: 0 / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001732/0.3188, allocations: 126.7 kB / 0.5209 GB, free: 33.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.3188, allocations: 2.781 kB / 0.5209 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3188, allocations: 2.781 kB / 0.5209 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3188, allocations: 3.938 kB / 0.5209 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.3189, allocations: 17.34 kB / 0.5209 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3189, allocations: 6.906 kB / 0.5209 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.319, allocations: 10.38 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.319, allocations: 3.578 kB / 0.5209 GB, free: 33.66 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 (8): * Single equations (assignments): 8 * 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.337e-05/0.3191, allocations: 132 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.3191, allocations: 16.59 kB / 0.5211 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.3193, allocations: 133.6 kB / 0.5212 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3193, allocations: 3.984 kB / 0.5212 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3193, allocations: 3.938 kB / 0.5212 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3193, allocations: 0 / 0.5212 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.3197, allocations: 419.9 kB / 0.5216 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3197, allocations: 2.625 kB / 0.5216 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.3198, allocations: 21.41 kB / 0.5216 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3198, allocations: 2.812 kB / 0.5216 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3198, allocations: 0 / 0.5216 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3198, allocations: 0 / 0.5216 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3198, allocations: 6.625 kB / 0.5216 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.32, allocations: 225.2 kB / 0.5218 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.3201, allocations: 91.42 kB / 0.5219 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3201, allocations: 2.594 kB / 0.5219 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.3202, allocations: 8.484 kB / 0.5219 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.3202, allocations: 13.66 kB / 0.5219 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3202, allocations: 2.812 kB / 0.522 GB, free: 32.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.3203, allocations: 205.6 kB / 0.5221 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3204, allocations: 0 / 0.5221 GB, free: 32.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000224/0.3206, allocations: 26.38 kB / 0.5222 GB, free: 32.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001082/0.3217, allocations: 1.103 MB / 0.5232 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.3219, allocations: 73.88 kB / 0.5233 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3219, allocations: 0 / 0.5233 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.3219, allocations: 45.8 kB / 0.5234 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.3223, allocations: 13.02 kB / 0.5234 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3234, allocations: 0.9452 MB / 0.5243 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.3235, allocations: 0.7189 MB / 0.525 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.3236, allocations: 45.66 kB / 0.525 GB, free: 30.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3236, allocations: 0 / 0.525 GB, free: 30.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.784/3.107, allocations: 2.457 MB / 0.5274 GB, free: 30.23 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches