Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",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.00137/0.00137, allocations: 109.5 kB / 17.78 MB, free: 5.309 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.001346/0.001346, allocations: 188 kB / 18.71 MB, free: 4.387 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2011/0.2011, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.346, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002516/0.3485, allocations: 1.562 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3497, allocations: 1.027 MB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.3498, allocations: 1.344 kB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.35, allocations: 24.05 kB / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.3502, allocations: 41.61 kB / 0.521 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.3505, allocations: 111.5 kB / 0.5211 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.3507, allocations: 59.77 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.3508, allocations: 15.91 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.3508, allocations: 24.17 kB / 0.5212 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.351, allocations: 26.09 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.351, allocations: 2.188 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3511, allocations: 50.36 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.3512, allocations: 16.75 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.3512, allocations: 21.12 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.3514, allocations: 89.91 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3514, allocations: 0 / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3515, allocations: 1.125 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3515, allocations: 0 / 0.5214 GB, free: 1.246 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.0004436/0.3519, allocations: 374.2 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.352, allocations: 13.88 kB / 0.5218 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.352, allocations: 32.64 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.352, allocations: 8.625 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.3522, allocations: 201.8 kB / 0.522 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.3522, allocations: 5.594 kB / 0.522 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3522, allocations: 2.5 kB / 0.522 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3524, allocations: 65.86 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3524, allocations: 1.797 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3524, allocations: 0 / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3525, allocations: 1.062 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3526, allocations: 23.67 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.3529, allocations: 283.3 kB / 0.5224 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.3531, allocations: 45.53 kB / 0.5224 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.3532, allocations: 15.28 kB / 0.5225 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3532, allocations: 1.328 kB / 0.5225 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.3533, allocations: 36.14 kB / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.3533, allocations: 4 kB / 0.5225 GB, free: 160 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005709/0.3538, allocations: 150.3 kB / 0.5226 GB, free: 88 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.3539, allocations: 78.84 kB / 0.5227 GB, free: 15.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3541, allocations: 132.1 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3541, allocations: 29.64 kB / 0.5229 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.3541, allocations: 92.47 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.3542, allocations: 19.38 kB / 0.523 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.3542, allocations: 19.06 kB / 0.523 GB, free: 15.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3544, allocations: 324 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.3545, allocations: 21.17 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.3545, allocations: 32.09 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3547, allocations: 56.75 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3547, allocations: 0 / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001956/0.3549, allocations: 84.45 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3549, allocations: 9.766 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3549, allocations: 0 / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.355, allocations: 5.797 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.355, allocations: 12.3 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.355, allocations: 4.641 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.3551, allocations: 8.688 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3551, allocations: 5.031 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.995e-05/0.3552, allocations: 115.8 kB / 0.5236 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.3552, allocations: 7.094 kB / 0.5236 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.3555, allocations: 93.53 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3555, allocations: 1.766 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3555, allocations: 0 / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3555, allocations: 3.938 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.3559, allocations: 362.7 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3559, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.356, allocations: 13.22 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.356, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.356, allocations: 6.109 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.356, allocations: 3.938 kB / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.356, allocations: 1.344 kB / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.3562, allocations: 184.9 kB / 0.5243 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.3563, allocations: 79.31 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3563, allocations: 2.062 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.3564, allocations: 7.719 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.3564, allocations: 8.547 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3565, allocations: 6.109 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.329e-05/0.3565, allocations: 107.6 kB / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3565, allocations: 0 / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3568, allocations: 15.75 kB / 0.5245 GB, free: 14.42 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.001521/0.3583, allocations: 1.059 MB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3586, allocations: 55.17 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3586, allocations: 1.469 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.3587, allocations: 29.95 kB / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.359, allocations: 22.47 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.3606, allocations: 1.397 MB / 0.527 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3608, allocations: 0.6937 MB / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.638e-05/0.3609, allocations: 13.88 kB / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.361, allocations: 26.72 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.361, allocations: 1.969 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.382, allocations: 2.792 MB / 0.5305 GB, free: 10.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.877, allocations: 13.23 kB / 0.5305 GB, free: 10.43 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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