Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.00113/0.00113, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001147/0.001147, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1926/0.1926, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2915, allocations: 60.83 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002428/0.2939, allocations: 1.561 MB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2952, allocations: 1.028 MB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.2953, allocations: 1.062 kB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.2955, allocations: 24.5 kB / 0.521 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.2957, allocations: 41.89 kB / 0.521 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.2959, allocations: 114.8 kB / 0.5211 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2961, allocations: 55.88 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.2962, allocations: 16.48 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.498e-05/0.2962, allocations: 22.98 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2964, allocations: 25.84 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.2964, allocations: 2.375 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.2965, allocations: 54.81 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.2965, allocations: 13.09 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.2966, allocations: 21.66 kB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.2968, allocations: 88.05 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2968, allocations: 5.094 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2968, allocations: 0 / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2968, allocations: 0.6562 kB / 0.5214 GB, free: 1.238 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003479/0.2972, allocations: 370.9 kB / 0.5218 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2972, allocations: 13.28 kB / 0.5218 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.2972, allocations: 32.61 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.2973, allocations: 7.781 kB / 0.5218 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.2974, allocations: 195.5 kB / 0.522 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2974, allocations: 5.906 kB / 0.522 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.2975, allocations: 6.125 kB / 0.522 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2976, allocations: 66.2 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2976, allocations: 0 / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2976, allocations: 5.938 kB / 0.5221 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2976, allocations: 0 / 0.5221 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/0.2977, allocations: 23.41 kB / 0.5221 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.298, allocations: 284.4 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.2982, allocations: 41.06 kB / 0.5224 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.2983, allocations: 18.52 kB / 0.5225 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2983, allocations: 1.062 kB / 0.5225 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.2983, allocations: 32.31 kB / 0.5225 GB, free: 160 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2983, allocations: 4 kB / 0.5225 GB, free: 156 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004971/0.2988, allocations: 150.2 kB / 0.5226 GB, free: 84 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.2989, allocations: 78.95 kB / 0.5227 GB, free: 15.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.299, allocations: 131.6 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.2991, allocations: 30.52 kB / 0.5229 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.2991, allocations: 89.52 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.2991, allocations: 22.5 kB / 0.523 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.2992, allocations: 19.73 kB / 0.523 GB, free: 15.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2993, allocations: 318.4 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.2994, allocations: 21.23 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.2995, allocations: 41.66 kB / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2996, allocations: 55 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2996, allocations: 0.7031 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001858/0.2998, allocations: 80.95 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2998, allocations: 6.172 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2998, allocations: 0 / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2999, allocations: 5 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.2999, allocations: 11.27 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2999, allocations: 5.781 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.3, allocations: 8.719 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3, allocations: 9.594 kB / 0.5235 GB, free: 15.29 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.515e-05/0.3001, allocations: 115.8 kB / 0.5236 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3001, allocations: 7.719 kB / 0.5236 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.3004, allocations: 97.03 kB / 0.5237 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3004, allocations: 3.984 kB / 0.5237 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3004, allocations: 1.891 kB / 0.5237 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3004, allocations: 3.938 kB / 0.5238 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.3009, allocations: 353.6 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3009, allocations: 0.9688 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.3009, allocations: 12.83 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3009, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.301, allocations: 1.766 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.301, allocations: 11.88 kB / 0.5241 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.301, allocations: 1.25 kB / 0.5241 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.3012, allocations: 189.2 kB / 0.5243 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.3012, allocations: 79.5 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3013, allocations: 5.125 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.3013, allocations: 9.453 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.3014, allocations: 3.766 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.3014, allocations: 1.125 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.853e-05/0.3015, allocations: 104.3 kB / 0.5245 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3015, allocations: 4 kB / 0.5245 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000247/0.3017, allocations: 24.25 kB / 0.5245 GB, free: 14.4 MB / 398.1 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 (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.00126/0.303, allocations: 1.045 MB / 0.5255 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.3032, allocations: 48.45 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3032, allocations: 0 / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.3033, allocations: 33.78 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.3036, allocations: 22.58 kB / 0.5256 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.305, allocations: 1.4 MB / 0.527 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3053, allocations: 0.6927 MB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.244e-05/0.3053, allocations: 21.41 kB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.3054, allocations: 28.72 kB / 0.5277 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3054, allocations: 0 / 0.5277 GB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.3257, allocations: 2.79 MB / 0.5305 GB, free: 10.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/7.746, allocations: 9.359 kB / 0.5305 GB, free: 10.43 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time