Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.5 MB / 243.4 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007814/0.0007817, allocations: 100.6 kB / 295.5 MB, free: 6.852 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3121/0.3121, allocations: 44.82 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002434/0.0002436, allocations: 8 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3341, allocations: 62.96 MB / 0.516 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001616/0.3358, allocations: 1.309 MB / 0.5172 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.3365, allocations: 0.4944 MB / 0.5177 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.3366, allocations: 2.719 kB / 0.5177 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.3368, allocations: 131.3 kB / 0.5178 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.3371, allocations: 104.8 kB / 0.5179 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.3373, allocations: 105 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.3374, allocations: 80.2 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.3375, allocations: 20.42 kB / 0.5181 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.3376, allocations: 39.19 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3377, allocations: 67.92 kB / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3377, allocations: 0 / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.3378, allocations: 41.61 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.3379, allocations: 31.34 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.3379, allocations: 54.98 kB / 0.5184 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3381, allocations: 88.38 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3381, allocations: 0 / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3381, allocations: 0 / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.3381, allocations: 3.938 kB / 0.5185 GB, free: 35.5 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.0004277/0.3385, allocations: 423.8 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3386, allocations: 8.938 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.3386, allocations: 37.66 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.3386, allocations: 18.5 kB / 0.5189 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3388, allocations: 204.9 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.3388, allocations: 3.406 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3388, allocations: 4.375 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.339, allocations: 59.56 kB / 0.5192 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.339, allocations: 11.08 kB / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.339, allocations: 7.344 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.339, allocations: 0 / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.3391, allocations: 30.78 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.3395, allocations: 318.2 kB / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.148e-05/0.3396, allocations: 42.98 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.3396, allocations: 19.44 kB / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3397, allocations: 0 / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.3397, allocations: 38.5 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3397, allocations: 4 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008482/0.3405, allocations: 272.9 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.3406, allocations: 54.38 kB / 0.5199 GB, free: 34.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.3408, allocations: 280.2 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.3408, allocations: 29.7 kB / 0.5202 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.3409, allocations: 116.5 kB / 0.5203 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.3409, allocations: 30.02 kB / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.3409, allocations: 0 / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.341, allocations: 328.4 kB / 0.5207 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.341, allocations: 28.7 kB / 0.5207 GB, free: 33.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.3411, allocations: 40.36 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3413, allocations: 76.19 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3413, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002005/0.3415, allocations: 135 kB / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3415, allocations: 8.594 kB / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3415, allocations: 0 / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3415, allocations: 0 / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.3416, allocations: 23.27 kB / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3417, allocations: 3.938 kB / 0.521 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.3417, allocations: 12.39 kB / 0.521 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3417, allocations: 3.094 kB / 0.521 GB, free: 33.44 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 8.178e-05/0.3418, allocations: 136.2 kB / 0.5211 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.3419, allocations: 16.78 kB / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.3421, allocations: 140.8 kB / 0.5213 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3421, allocations: 6.906 kB / 0.5213 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3421, allocations: 7.938 kB / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3422, allocations: 0 / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.3426, allocations: 439 kB / 0.5217 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3426, allocations: 0 / 0.5217 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.3427, allocations: 28.75 kB / 0.5217 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3427, allocations: 0 / 0.5217 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.3427, allocations: 0 / 0.5217 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3427, allocations: 2.969 kB / 0.5217 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3427, allocations: 3.938 kB / 0.5218 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.3429, allocations: 226.8 kB / 0.522 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.343, allocations: 92.16 kB / 0.5221 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.343, allocations: 10.25 kB / 0.5221 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.3431, allocations: 5.188 kB / 0.5221 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.3431, allocations: 6.203 kB / 0.5221 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3431, allocations: 2.625 kB / 0.5221 GB, free: 32.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3433, allocations: 213.7 kB / 0.5223 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3433, allocations: 0 / 0.5223 GB, free: 32.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000225/0.3435, allocations: 21.78 kB / 0.5223 GB, free: 32.46 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.0012/0.3447, allocations: 1.103 MB / 0.5234 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.3449, allocations: 88.11 kB / 0.5235 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3449, allocations: 0 / 0.5235 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.57e-05/0.345, allocations: 41.25 kB / 0.5235 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3454, allocations: 16.17 kB / 0.5235 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.3466, allocations: 0.9842 MB / 0.5245 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.3468, allocations: 0.7189 MB / 0.5252 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.3469, allocations: 46.7 kB / 0.5252 GB, free: 30.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3469, allocations: 0 / 0.5252 GB, free: 30.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.777/3.124, allocations: 2.509 MB / 0.5277 GB, free: 29.98 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches