Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 199.1 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 226.5 MB / 243.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007611/0.0007609, allocations: 107.4 kB / 295.5 MB, free: 6.848 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3109/0.3109, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002507, allocations: 8 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3061, allocations: 62.96 MB / 0.516 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.001606/0.3078, allocations: 1.339 MB / 0.5173 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007213/0.3085, allocations: 0.4974 MB / 0.5178 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.3086, allocations: 0 / 0.5178 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.3088, allocations: 34.77 kB / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.309, allocations: 69.33 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.3092, allocations: 72.75 kB / 0.5179 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3094, allocations: 81.09 kB / 0.518 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.3095, allocations: 16.83 kB / 0.518 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.3096, allocations: 34.52 kB / 0.5181 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.3096, allocations: 27.83 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3097, allocations: 3 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.3097, allocations: 33.53 kB / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.3098, allocations: 23.2 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.3098, allocations: 47.05 kB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.31, allocations: 80.77 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.31, allocations: 0 / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.31, allocations: 0 / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.31, allocations: 0 / 0.5183 GB, free: 35.57 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003748/0.3104, allocations: 401.7 kB / 0.5186 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3104, allocations: 12.75 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.3105, allocations: 33.62 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.3105, allocations: 17.86 kB / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3107, allocations: 189.2 kB / 0.5189 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3107, allocations: 384 / 0.5189 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3107, allocations: 9.781 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3109, allocations: 78.95 kB / 0.519 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3109, allocations: 2.812 kB / 0.519 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3109, allocations: 4 kB / 0.519 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3109, allocations: 0 / 0.519 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.311, allocations: 41.62 kB / 0.519 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.3114, allocations: 327.6 kB / 0.5193 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3115, allocations: 66.19 kB / 0.5194 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.3115, allocations: 30.75 kB / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3116, allocations: 0 / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.3116, allocations: 33.53 kB / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.3116, allocations: 4 kB / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009505/0.3126, allocations: 323.6 kB / 0.5198 GB, free: 34.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.3126, allocations: 58.22 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3127, allocations: 166.2 kB / 0.52 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3128, allocations: 29.7 kB / 0.52 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.3128, allocations: 105.5 kB / 0.5201 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.3128, allocations: 41.56 kB / 0.5201 GB, free: 33.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.3129, allocations: 4 kB / 0.5201 GB, free: 33.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.813e-05/0.3129, allocations: 321.3 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.313, allocations: 37.84 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.683e-05/0.3131, allocations: 49.94 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.3133, allocations: 90.55 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3133, allocations: 0 / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002215/0.3135, allocations: 147.4 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.3135, allocations: 9.969 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3136, allocations: 4 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3136, allocations: 0 / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3137, allocations: 27.28 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3137, allocations: 0.7031 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.3138, allocations: 12.58 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3138, allocations: 9.5 kB / 0.5208 GB, free: 33.5 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 (13): * Single equations (assignments): 13 * 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.764e-05/0.3139, allocations: 123.8 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.3139, allocations: 13.66 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.3142, allocations: 161.7 kB / 0.5211 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3142, allocations: 10.75 kB / 0.5211 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3142, allocations: 0 / 0.5211 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3142, allocations: 7.266 kB / 0.5211 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.3147, allocations: 475.2 kB / 0.5216 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3147, allocations: 3.375 kB / 0.5216 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.3148, allocations: 30.7 kB / 0.5216 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3148, allocations: 0 / 0.5216 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3148, allocations: 7.062 kB / 0.5216 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.3148, allocations: 0 / 0.5216 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3149, allocations: 0 / 0.5216 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3151, allocations: 255.5 kB / 0.5219 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.3151, allocations: 90.14 kB / 0.522 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3152, allocations: 0 / 0.522 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.3152, allocations: 16.84 kB / 0.522 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.3153, allocations: 13.02 kB / 0.522 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3153, allocations: 3.094 kB / 0.522 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.242e-05/0.3154, allocations: 128 kB / 0.5221 GB, free: 32.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3154, allocations: 0 / 0.5221 GB, free: 32.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.3156, allocations: 32.86 kB / 0.5221 GB, free: 32.49 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 (13): * Single equations (assignments): 13 * 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.001195/0.3168, allocations: 1.106 MB / 0.5232 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.3171, allocations: 102.9 kB / 0.5233 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3171, allocations: 3.156 kB / 0.5233 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/0.3172, allocations: 59.58 kB / 0.5234 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.3175, allocations: 28.27 kB / 0.5234 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3186, allocations: 0.7834 MB / 0.5242 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.3187, allocations: 0.7052 MB / 0.5249 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.3188, allocations: 38.72 kB / 0.5249 GB, free: 30.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3188, allocations: 0 / 0.5249 GB, free: 30.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.762/3.081, allocations: 2.209 MB / 0.5271 GB, free: 30.11 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches