Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 200.2 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.252/1.252, allocations: 226.5 MB / 243.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006977/0.0006977, allocations: 98.44 kB / 295.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2806/0.2806, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 12 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.265, allocations: 62.96 MB / 0.516 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001414/0.2665, allocations: 1.312 MB / 0.5172 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006239/0.2671, allocations: 499.5 kB / 0.5177 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.2672, allocations: 3.938 kB / 0.5177 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.2674, allocations: 104.8 kB / 0.5178 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.2676, allocations: 99.62 kB / 0.5179 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.2678, allocations: 81.5 kB / 0.518 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2679, allocations: 79.55 kB / 0.5181 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.268, allocations: 15.77 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.406e-05/0.2681, allocations: 32 kB / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.2681, allocations: 52.52 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2682, allocations: 2.781 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.978e-05/0.2682, allocations: 45.11 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.2683, allocations: 27.45 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.2683, allocations: 55.17 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.2684, allocations: 84.11 kB / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2685, allocations: 0 / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2685, allocations: 0 / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.2685, allocations: 0 / 0.5184 GB, free: 35.46 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.0003558/0.2688, allocations: 406.9 kB / 0.5188 GB, free: 35.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2689, allocations: 8.406 kB / 0.5188 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.2689, allocations: 45.53 kB / 0.5188 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.2689, allocations: 14.56 kB / 0.5188 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2691, allocations: 208.1 kB / 0.519 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.2691, allocations: 7.25 kB / 0.519 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.2691, allocations: 3.219 kB / 0.519 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.2692, allocations: 56.09 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2692, allocations: 6.781 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.2693, allocations: 3.938 kB / 0.5191 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2693, allocations: 0 / 0.5191 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.2694, allocations: 34.48 kB / 0.5191 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.2696, allocations: 295.4 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.78e-05/0.2697, allocations: 47.45 kB / 0.5195 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.2698, allocations: 21.08 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.2698, allocations: 3.781 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.175e-05/0.2698, allocations: 34.56 kB / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2698, allocations: 0 / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007525/0.2706, allocations: 247.6 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.2706, allocations: 57.86 kB / 0.5198 GB, free: 34.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2708, allocations: 252.3 kB / 0.52 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.2708, allocations: 28.55 kB / 0.5201 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.2708, allocations: 120.4 kB / 0.5202 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.2709, allocations: 22.53 kB / 0.5202 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.2709, allocations: 0 / 0.5202 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.2709, allocations: 330.8 kB / 0.5205 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.271, allocations: 27.75 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.2711, allocations: 25.45 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.2712, allocations: 74.7 kB / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2712, allocations: 0 / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001709/0.2714, allocations: 117 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.2714, allocations: 2.969 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2714, allocations: 3.875 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2714, allocations: 3.938 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.2715, allocations: 24.48 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2715, allocations: 6.75 kB / 0.5208 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.2716, allocations: 2.938 kB / 0.5208 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.2716, allocations: 3.234 kB / 0.5208 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.352e-05/0.2717, allocations: 131.7 kB / 0.5209 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.2717, allocations: 13.78 kB / 0.5209 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.272, allocations: 131.9 kB / 0.5211 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.272, allocations: 6.922 kB / 0.5211 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.272, allocations: 3.938 kB / 0.5211 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.272, allocations: 0 / 0.5211 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.2724, allocations: 425 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2724, allocations: 0 / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.2724, allocations: 21.89 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2724, allocations: 0 / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.2725, allocations: 2.594 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2725, allocations: 4.031 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2725, allocations: 3.312 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.2727, allocations: 211.3 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.2727, allocations: 106.1 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.2727, allocations: 0 / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.2728, allocations: 8.969 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.2728, allocations: 6.078 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2729, allocations: 7.031 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.273, allocations: 191.8 kB / 0.522 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.273, allocations: 0 / 0.522 GB, free: 32.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.2732, allocations: 25.89 kB / 0.522 GB, free: 32.48 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.001087/0.2743, allocations: 1.099 MB / 0.5231 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.2745, allocations: 74.34 kB / 0.5232 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2745, allocations: 3 kB / 0.5232 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.2746, allocations: 35.22 kB / 0.5232 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.2749, allocations: 17.25 kB / 0.5232 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.2759, allocations: 0.8749 MB / 0.5241 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.276, allocations: 0.7169 MB / 0.5248 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.2761, allocations: 36.34 kB / 0.5248 GB, free: 30.33 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2761, allocations: 0 / 0.5248 GB, free: 30.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.77/3.046, allocations: 2.351 MB / 0.5271 GB, free: 30.06 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches