Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 102.8 kB / 15.98 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 190.4 kB / 16.9 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 222.8 MB, free: 4.43 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3798/0.3798, allocations: 43.5 MB / 313.6 MB, free: 8.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 67.89 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1516, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.004065/0.1557, allocations: 1.63 MB / 441.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1573, allocations: 0.9338 MB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.1574, allocations: 0 / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1577, allocations: 19.92 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.158, allocations: 31.91 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1583, allocations: 91.83 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1585, allocations: 71.77 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1586, allocations: 24.39 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.1587, allocations: 27.91 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1177/0.2764, allocations: 35.78 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.2765, allocations: 4 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.2767, allocations: 51.97 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.2768, allocations: 19.92 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.2769, allocations: 27.75 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.2772, allocations: 99.75 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2772, allocations: 0 / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2772, allocations: 4 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2772, allocations: 0 / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006163/0.2778, allocations: 387.2 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.2779, allocations: 15.89 kB / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.2779, allocations: 30.75 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.278, allocations: 8.844 kB / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.2782, allocations: 188.2 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.2782, allocations: 16.3 kB / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.2783, allocations: 8.062 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.2785, allocations: 88.23 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2785, allocations: 4 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2785, allocations: 0 / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2785, allocations: 0 / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2786, allocations: 39.91 kB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.2792, allocations: 392.9 kB / 444.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.2794, allocations: 81.16 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.4e-05/0.2795, allocations: 37.8 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.2796, allocations: 4 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.2796, allocations: 34.5 kB / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.2796, allocations: 0 / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007222/0.2803, allocations: 213.1 kB / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.2804, allocations: 118.7 kB / 444.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2805, allocations: 137.8 kB / 444.9 MB, free: 9.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.2806, allocations: 33.64 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.2806, allocations: 92.05 kB / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.2807, allocations: 39.53 kB / 445.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.2807, allocations: 21.72 kB / 445.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.2808, allocations: 322.8 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/0.2809, allocations: 35.97 kB / 445.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.281, allocations: 54.48 kB / 445.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2812, allocations: 85.69 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2812, allocations: 0 / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002286/0.2814, allocations: 125.6 kB / 445.7 MB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2815, allocations: 8.031 kB / 445.7 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2815, allocations: 0 / 445.7 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2815, allocations: 0 / 445.7 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.2816, allocations: 27.92 kB / 445.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2816, allocations: 3.938 kB / 445.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.2816, allocations: 4 kB / 445.8 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2817, allocations: 8 kB / 445.8 MB, free: 8.645 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/0.2817, allocations: 117.8 kB / 445.9 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.2818, allocations: 11.91 kB / 445.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.2821, allocations: 145.5 kB / 446 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2821, allocations: 0 / 446 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2821, allocations: 12.44 kB / 446.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2821, allocations: 0 / 446.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.2827, allocations: 498.5 kB / 446.5 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2827, allocations: 12.19 kB / 446.6 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.2828, allocations: 20.03 kB / 446.6 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2828, allocations: 3.984 kB / 446.6 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2828, allocations: 12 kB / 446.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2828, allocations: 0 / 446.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2828, allocations: 0 / 446.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.2831, allocations: 295.5 kB / 446.9 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.2832, allocations: 88.95 kB / 447 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2832, allocations: 4 kB / 447 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2833, allocations: 7.984 kB / 447 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.2834, allocations: 8 kB / 447 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2834, allocations: 8 kB / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.618e-05/0.2835, allocations: 115.3 kB / 447.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2835, allocations: 0 / 447.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.2838, allocations: 24 kB / 447.1 MB, free: 7.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/0.2852, allocations: 1.173 MB / 448.3 MB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.2855, allocations: 91.88 kB / 448.4 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2855, allocations: 8 kB / 448.4 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.2856, allocations: 43.91 kB / 448.4 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.2861, allocations: 19.86 kB / 448.5 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.2878, allocations: 1.659 MB / 450.1 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.2881, allocations: 0.6963 MB / 450.8 MB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.2882, allocations: 33.02 kB / 450.9 MB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.2882, allocations: 27.42 kB / 450.9 MB, free: 3.309 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2882, allocations: 0 / 450.9 MB, free: 3.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1234/0.4117, allocations: 2.903 MB / 453.8 MB, free: 388 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.412, allocations: 236.7 kB / 454 MB, free: 124 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.456, allocations: 4 kB / 454 MB, free: 120 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches