Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 193.8 kB / 16.09 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.5 MB / 243.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007637/0.0007637, allocations: 100.5 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2749/0.2749, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002561/0.0002561, allocations: 11.98 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2532, allocations: 62.96 MB / 0.516 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00147/0.2547, allocations: 1.314 MB / 0.5172 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006264/0.2554, allocations: 0.4938 MB / 0.5177 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.2554, allocations: 0 / 0.5177 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.2556, allocations: 82.61 kB / 0.5178 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.2558, allocations: 84.28 kB / 0.5179 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.2561, allocations: 103.5 kB / 0.518 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.2562, allocations: 72.23 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.892e-05/0.2563, allocations: 21.67 kB / 0.5181 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.2563, allocations: 32.88 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.843e-05/0.2564, allocations: 45.94 kB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.2564, allocations: 2.812 kB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-05/0.2565, allocations: 37.5 kB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.2565, allocations: 20.7 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/0.2566, allocations: 55.02 kB / 0.5183 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.2567, allocations: 78.3 kB / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2567, allocations: 0 / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2567, allocations: 0 / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.2567, allocations: 0 / 0.5183 GB, free: 35.47 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.0003421/0.2571, allocations: 399.3 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2571, allocations: 14.41 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.2571, allocations: 33.98 kB / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.2572, allocations: 14.44 kB / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2573, allocations: 199.2 kB / 0.519 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.2573, allocations: 384 / 0.519 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.2573, allocations: 7.25 kB / 0.519 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.2575, allocations: 65.25 kB / 0.519 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2575, allocations: 0 / 0.519 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2575, allocations: 4 kB / 0.519 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2575, allocations: 3.984 kB / 0.519 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.638e-05/0.2576, allocations: 31.78 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.2579, allocations: 307.8 kB / 0.5194 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/0.258, allocations: 46.84 kB / 0.5194 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.2581, allocations: 20.66 kB / 0.5194 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.2581, allocations: 2.938 kB / 0.5194 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.2581, allocations: 30.56 kB / 0.5195 GB, free: 34.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2581, allocations: 4 kB / 0.5195 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007799/0.2589, allocations: 266.2 kB / 0.5197 GB, free: 34.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.2589, allocations: 54.38 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2591, allocations: 215.8 kB / 0.52 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.2591, allocations: 25.7 kB / 0.52 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.47e-05/0.2591, allocations: 113.1 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.2592, allocations: 29.83 kB / 0.5201 GB, free: 33.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.2592, allocations: 0 / 0.5201 GB, free: 33.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.2592, allocations: 324 kB / 0.5204 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.2593, allocations: 32.16 kB / 0.5205 GB, free: 33.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.2594, allocations: 39.42 kB / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2595, allocations: 83.33 kB / 0.5206 GB, free: 33.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2595, allocations: 0 / 0.5206 GB, free: 33.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001844/0.2597, allocations: 126.5 kB / 0.5207 GB, free: 33.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.2597, allocations: 2.875 kB / 0.5207 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2597, allocations: 7.875 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2598, allocations: 6.938 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.2599, allocations: 17.08 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2599, allocations: 6.344 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.2599, allocations: 13 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2599, allocations: 0 / 0.5208 GB, free: 33.46 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.054e-05/0.26, allocations: 128.9 kB / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.26, allocations: 13.08 kB / 0.5209 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.2603, allocations: 137.7 kB / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2603, allocations: 3.094 kB / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2603, allocations: 7.938 kB / 0.521 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2603, allocations: 0 / 0.521 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.2607, allocations: 420.5 kB / 0.5214 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2607, allocations: 2.906 kB / 0.5214 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.2608, allocations: 29.86 kB / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2608, allocations: 0 / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.2608, allocations: 3.031 kB / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2608, allocations: 0 / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2608, allocations: 0 / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.261, allocations: 229 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.261, allocations: 91.45 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2611, allocations: 2.719 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.2611, allocations: 11.59 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.2612, allocations: 7.047 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.2612, allocations: 3.031 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.654e-05/0.2613, allocations: 161.1 kB / 0.522 GB, free: 32.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2613, allocations: 0 / 0.522 GB, free: 32.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.2615, allocations: 20.5 kB / 0.522 GB, free: 32.52 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.001074/0.2626, allocations: 1.101 MB / 0.5231 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.2628, allocations: 79.98 kB / 0.5231 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2628, allocations: 0 / 0.5231 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.2629, allocations: 42.67 kB / 0.5232 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.2632, allocations: 24.92 kB / 0.5232 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009719/0.2642, allocations: 0.8371 MB / 0.524 GB, free: 31.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.2643, allocations: 0.7143 MB / 0.5247 GB, free: 30.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.2643, allocations: 40.84 kB / 0.5247 GB, free: 30.37 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2643, allocations: 0 / 0.5247 GB, free: 30.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.767/3.032, allocations: 2.224 MB / 0.5269 GB, free: 30.12 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches