Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001144, allocations: 196.2 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.309/1.309, allocations: 226.5 MB / 243.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000727/0.000727, allocations: 105 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.295/0.295, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.0002814, allocations: 11.94 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3081, allocations: 62.95 MB / 0.516 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.001435/0.3096, allocations: 1.309 MB / 0.5172 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006479/0.3102, allocations: 0.4935 MB / 0.5177 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.3103, allocations: 3.938 kB / 0.5177 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.3105, allocations: 74.64 kB / 0.5178 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.3107, allocations: 89.94 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.3109, allocations: 71.11 kB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3111, allocations: 71.19 kB / 0.518 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.3112, allocations: 24.2 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.3112, allocations: 25.95 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.3113, allocations: 49.36 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.3113, allocations: 3 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.3114, allocations: 35.78 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.3115, allocations: 24.12 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.3115, allocations: 51.42 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.3116, allocations: 79.67 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3116, allocations: 3.141 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3116, allocations: 4 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.3116, allocations: 0 / 0.5183 GB, free: 35.62 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.000358/0.312, allocations: 389.5 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3121, allocations: 8.875 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.3121, allocations: 37.56 kB / 0.5187 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.3121, allocations: 15.59 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3123, allocations: 206 kB / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.3123, allocations: 3.281 kB / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3123, allocations: 7.188 kB / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.3124, allocations: 55.56 kB / 0.519 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3125, allocations: 3.422 kB / 0.519 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.3125, allocations: 0 / 0.519 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3125, allocations: 0 / 0.519 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.3126, allocations: 26.5 kB / 0.519 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.3129, allocations: 302.8 kB / 0.5193 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.313, allocations: 46.92 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.313, allocations: 19.95 kB / 0.5194 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3131, allocations: 3.891 kB / 0.5194 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.3131, allocations: 38.56 kB / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3131, allocations: 0 / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007967/0.3139, allocations: 252.2 kB / 0.5197 GB, free: 34.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.3139, allocations: 53.91 kB / 0.5197 GB, free: 34.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3141, allocations: 224.2 kB / 0.5199 GB, free: 34.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.3141, allocations: 29.7 kB / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.3142, allocations: 105.4 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.3142, allocations: 22.62 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.3142, allocations: 0 / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.3143, allocations: 325.1 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.3144, allocations: 28.58 kB / 0.5204 GB, free: 33.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.3144, allocations: 29 kB / 0.5204 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.3146, allocations: 71.02 kB / 0.5205 GB, free: 33.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3146, allocations: 3.328 kB / 0.5205 GB, free: 33.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001763/0.3148, allocations: 115.5 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3148, allocations: 8.906 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3148, allocations: 0 / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3148, allocations: 2.688 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.3149, allocations: 21.78 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3149, allocations: 3.938 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.315, allocations: 17.75 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.315, allocations: 2.844 kB / 0.5207 GB, free: 33.62 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.595e-05/0.315, allocations: 121.7 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.3151, allocations: 9.625 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.3153, allocations: 130.6 kB / 0.5209 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3153, allocations: 2.719 kB / 0.5209 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3153, allocations: 3.938 kB / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3153, allocations: 0 / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.3157, allocations: 416.5 kB / 0.5213 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3158, allocations: 0 / 0.5213 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.3158, allocations: 21.83 kB / 0.5213 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3158, allocations: 2.875 kB / 0.5213 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3158, allocations: 4 kB / 0.5213 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3159, allocations: 0 / 0.5213 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3159, allocations: 2.969 kB / 0.5214 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.3161, allocations: 208.6 kB / 0.5215 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.3161, allocations: 95.11 kB / 0.5216 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3161, allocations: 4 kB / 0.5216 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.3162, allocations: 9.234 kB / 0.5217 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3162, allocations: 10.06 kB / 0.5217 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3162, allocations: 2.812 kB / 0.5217 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.824e-05/0.3163, allocations: 160.4 kB / 0.5218 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3164, allocations: 0 / 0.5218 GB, free: 32.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.3166, allocations: 25.83 kB / 0.5218 GB, free: 32.69 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.001173/0.3178, allocations: 1.104 MB / 0.5229 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.318, allocations: 70.38 kB / 0.523 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.318, allocations: 0 / 0.523 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.502e-05/0.3181, allocations: 40.48 kB / 0.523 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.0002977/0.3184, allocations: 15.25 kB / 0.523 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/0.3194, allocations: 0.7956 MB / 0.5238 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.3195, allocations: 0.7119 MB / 0.5245 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.3196, allocations: 35.59 kB / 0.5245 GB, free: 30.57 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.3196, allocations: 3.938 kB / 0.5246 GB, free: 30.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.802/3.122, allocations: 2.169 MB / 0.5267 GB, free: 30.32 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches