Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 199.6 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.226/1.226, allocations: 226.5 MB / 243.4 MB, free: 8.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007863/0.0007863, allocations: 101.3 kB / 295.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2724/0.2724, allocations: 44.81 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002683, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2521, allocations: 62.95 MB / 0.516 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001414/0.2536, allocations: 1.297 MB / 0.5172 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006293/0.2542, allocations: 498.8 kB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.2543, allocations: 0 / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.2545, allocations: 23.39 kB / 0.5177 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.2546, allocations: 57.8 kB / 0.5178 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.2549, allocations: 99.06 kB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.255, allocations: 55.83 kB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.952e-05/0.2551, allocations: 24.89 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.2551, allocations: 15.91 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.2552, allocations: 20.98 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.2552, allocations: 0 / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.2553, allocations: 25.69 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.2553, allocations: 21.2 kB / 0.518 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.2553, allocations: 40.55 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.226e-05/0.2554, allocations: 60.5 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2555, allocations: 0 / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2555, allocations: 0 / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.2555, allocations: 0 / 0.5181 GB, free: 35.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003055/0.2558, allocations: 372.7 kB / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2558, allocations: 8.781 kB / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.181e-05/0.2558, allocations: 34.75 kB / 0.5185 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.2559, allocations: 11.75 kB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.256, allocations: 198.3 kB / 0.5187 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-06/0.256, allocations: 4.312 kB / 0.5187 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.256, allocations: 3.156 kB / 0.5187 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2561, allocations: 56.83 kB / 0.5188 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2562, allocations: 3.938 kB / 0.5188 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.2562, allocations: 7.031 kB / 0.5188 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2562, allocations: 3.984 kB / 0.5188 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.2563, allocations: 32.14 kB / 0.5188 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.2565, allocations: 277.5 kB / 0.5191 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.2567, allocations: 54.02 kB / 0.5191 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.2568, allocations: 18.45 kB / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.2568, allocations: 0 / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.134e-05/0.2568, allocations: 37.94 kB / 0.5192 GB, free: 34.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.2568, allocations: 0 / 0.5192 GB, free: 34.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004834/0.2573, allocations: 164.7 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.2573, allocations: 51.41 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2574, allocations: 156.3 kB / 0.5196 GB, free: 34.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.2575, allocations: 25.7 kB / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.2575, allocations: 95.05 kB / 0.5197 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.2575, allocations: 17.89 kB / 0.5197 GB, free: 34.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.2575, allocations: 4 kB / 0.5197 GB, free: 34.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.3e-05/0.2576, allocations: 320.9 kB / 0.52 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.2576, allocations: 22.03 kB / 0.52 GB, free: 33.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.538e-05/0.2577, allocations: 27.62 kB / 0.52 GB, free: 33.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.2578, allocations: 58.56 kB / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2578, allocations: 0 / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001582/0.258, allocations: 100.3 kB / 0.5202 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.258, allocations: 5.25 kB / 0.5202 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.258, allocations: 2.969 kB / 0.5202 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.258, allocations: 0 / 0.5202 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.2581, allocations: 14.56 kB / 0.5202 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2581, allocations: 0 / 0.5202 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.2581, allocations: 8.938 kB / 0.5202 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2582, allocations: 3.938 kB / 0.5202 GB, free: 33.82 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 (5): * Single equations (assignments): 5 * 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 4.85e-05/0.2582, allocations: 119.8 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.2582, allocations: 10.91 kB / 0.5204 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.2584, allocations: 105.2 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2585, allocations: 3.625 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2585, allocations: 0 / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2585, allocations: 11.41 kB / 0.5205 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.2588, allocations: 362.4 kB / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2588, allocations: 384 / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/0.2589, allocations: 13.03 kB / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2589, allocations: 10.47 kB / 0.5208 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.2589, allocations: 4 kB / 0.5208 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2589, allocations: 7.359 kB / 0.5208 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2589, allocations: 0 / 0.5208 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.2591, allocations: 188.6 kB / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.2591, allocations: 87.89 kB / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.2591, allocations: 3.469 kB / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.2592, allocations: 9.812 kB / 0.5211 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.2592, allocations: 6.094 kB / 0.5211 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2592, allocations: 0 / 0.5211 GB, free: 33.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.614e-05/0.2593, allocations: 118 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2593, allocations: 0 / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.2595, allocations: 15.78 kB / 0.5213 GB, free: 32.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009369/0.2604, allocations: 1.017 MB / 0.5222 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.2606, allocations: 63.97 kB / 0.5223 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2606, allocations: 0 / 0.5223 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.2607, allocations: 33.78 kB / 0.5223 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.261, allocations: 29.41 kB / 0.5224 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007504/0.2617, allocations: 0.6185 MB / 0.523 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.591e-05/0.2619, allocations: 0.6934 MB / 0.5236 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.2619, allocations: 23.67 kB / 0.5237 GB, free: 30.94 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2619, allocations: 0 / 0.5237 GB, free: 30.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.749/3.011, allocations: 1.72 MB / 0.5254 GB, free: 30.77 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches