Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009604/0.0009603, allocations: 191.9 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 226.5 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008018/0.000802, allocations: 94.62 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2684/0.2684, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002341, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2515, allocations: 62.96 MB / 0.516 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.001461/0.253, allocations: 1.304 MB / 0.5172 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006556/0.2537, allocations: 0.4946 MB / 0.5177 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.2537, allocations: 6.469 kB / 0.5177 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.254, allocations: 79.77 kB / 0.5178 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.2542, allocations: 88.02 kB / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.2545, allocations: 99.2 kB / 0.518 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.2546, allocations: 71.11 kB / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.2547, allocations: 23.98 kB / 0.5181 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.2548, allocations: 29.89 kB / 0.5181 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.2548, allocations: 46.73 kB / 0.5181 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2549, allocations: 2.812 kB / 0.5181 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.255, allocations: 36.97 kB / 0.5182 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.255, allocations: 23.8 kB / 0.5182 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.255, allocations: 52.45 kB / 0.5183 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.2551, allocations: 73.14 kB / 0.5183 GB, free: 35.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2552, allocations: 0 / 0.5183 GB, free: 35.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2552, allocations: 2.906 kB / 0.5183 GB, free: 35.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.2552, allocations: 0 / 0.5183 GB, free: 35.85 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.0003325/0.2555, allocations: 397.3 kB / 0.5187 GB, free: 35.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2556, allocations: 10.94 kB / 0.5187 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.2556, allocations: 34.75 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.2556, allocations: 18.5 kB / 0.5188 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2558, allocations: 202.5 kB / 0.519 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.2558, allocations: 4.375 kB / 0.519 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.2558, allocations: 3.281 kB / 0.519 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.2559, allocations: 59.09 kB / 0.519 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2559, allocations: 2.469 kB / 0.519 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.256, allocations: 0 / 0.519 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.256, allocations: 4 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.2561, allocations: 34.56 kB / 0.5191 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.2564, allocations: 313.6 kB / 0.5194 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.763e-05/0.2565, allocations: 47.27 kB / 0.5194 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.2565, allocations: 23.78 kB / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2565, allocations: 0 / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.2566, allocations: 30.56 kB / 0.5195 GB, free: 34.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.2566, allocations: 3 kB / 0.5195 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007978/0.2574, allocations: 270.1 kB / 0.5197 GB, free: 34.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.2574, allocations: 51.41 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2576, allocations: 216.9 kB / 0.52 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.2576, allocations: 29.7 kB / 0.52 GB, free: 34.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.2576, allocations: 105.1 kB / 0.5201 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.2576, allocations: 29.73 kB / 0.5201 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.2576, allocations: 2.906 kB / 0.5201 GB, free: 34.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.2577, allocations: 329.2 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.2578, allocations: 30.94 kB / 0.5205 GB, free: 33.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.2579, allocations: 34.59 kB / 0.5205 GB, free: 33.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.258, allocations: 84.25 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.258, allocations: 0 / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002136/0.2582, allocations: 129.3 kB / 0.5207 GB, free: 33.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2582, allocations: 8.562 kB / 0.5207 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2583, allocations: 0 / 0.5207 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2583, allocations: 4 kB / 0.5207 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.2584, allocations: 24.52 kB / 0.5207 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2584, allocations: 3.938 kB / 0.5208 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.2584, allocations: 9.266 kB / 0.5208 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.2584, allocations: 0 / 0.5208 GB, free: 33.83 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.284e-05/0.2585, allocations: 130.7 kB / 0.5209 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.2585, allocations: 6.812 kB / 0.5209 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.2588, allocations: 145 kB / 0.521 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2588, allocations: 0 / 0.521 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2588, allocations: 6.875 kB / 0.521 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2588, allocations: 0 / 0.521 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.2592, allocations: 431.4 kB / 0.5214 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2592, allocations: 0 / 0.5214 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.2593, allocations: 23.31 kB / 0.5215 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2593, allocations: 0 / 0.5215 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.2593, allocations: 2.969 kB / 0.5215 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2593, allocations: 4.031 kB / 0.5215 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2593, allocations: 0 / 0.5215 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.2596, allocations: 220.2 kB / 0.5217 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.2596, allocations: 97.86 kB / 0.5218 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.2596, allocations: 7.375 kB / 0.5218 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.2597, allocations: 9.469 kB / 0.5218 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.2597, allocations: 6.25 kB / 0.5218 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2597, allocations: 3 kB / 0.5218 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.2598, allocations: 163.4 kB / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2598, allocations: 0 / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.2601, allocations: 17.75 kB / 0.522 GB, free: 32.88 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.001079/0.2612, allocations: 1.103 MB / 0.5231 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.2614, allocations: 80.45 kB / 0.5231 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2614, allocations: 0 / 0.5231 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.2615, allocations: 46.52 kB / 0.5232 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.2618, allocations: 13.36 kB / 0.5232 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2629, allocations: 0.839 MB / 0.524 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.263, allocations: 0.7096 MB / 0.5247 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.2631, allocations: 36.34 kB / 0.5247 GB, free: 30.75 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2631, allocations: 0 / 0.5247 GB, free: 30.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.813/3.076, allocations: 2.227 MB / 0.5269 GB, free: 30.5 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches