Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",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.001577/0.001578, 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.00178/0.00178, 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.419/1.419, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2406/0.2406, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4549, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002899/0.4578, allocations: 1.562 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.4592, allocations: 1.023 MB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.4593, allocations: 1.156 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.4595, allocations: 27.91 kB / 0.521 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.4598, allocations: 37.64 kB / 0.521 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.46, allocations: 88.77 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.4602, allocations: 51.48 kB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4603, allocations: 11.12 kB / 0.5212 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.4604, allocations: 32.5 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.4605, allocations: 20.02 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.4606, allocations: 7.375 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.4607, allocations: 54.11 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.4607, allocations: 12.8 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.4608, allocations: 17.83 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.461, allocations: 92.27 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.461, allocations: 0 / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.461, allocations: 1.094 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.461, allocations: 0 / 0.5214 GB, free: 1.277 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.00047/0.4615, allocations: 378.3 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4616, allocations: 18 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.898e-05/0.4616, allocations: 31.73 kB / 0.5218 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.4616, allocations: 8.625 kB / 0.5218 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.4618, allocations: 186.4 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.4618, allocations: 5.469 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.4619, allocations: 1.812 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.462, allocations: 69.41 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.462, allocations: 1.062 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4621, allocations: 8 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4621, allocations: 1.031 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4622, allocations: 22.84 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.4625, allocations: 264.6 kB / 0.5223 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.4627, allocations: 47.56 kB / 0.5224 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.4628, allocations: 18.38 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.4628, allocations: 1.125 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4629, allocations: 36.42 kB / 0.5224 GB, free: 196 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4629, allocations: 0 / 0.5224 GB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005712/0.4634, allocations: 142.3 kB / 0.5226 GB, free: 124 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.4635, allocations: 78.95 kB / 0.5227 GB, free: 28 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.4637, allocations: 135.1 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.4637, allocations: 26.8 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.4638, allocations: 88.3 kB / 0.5229 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.4638, allocations: 19.67 kB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.4638, allocations: 18.53 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.464, allocations: 319.7 kB / 0.5232 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.4641, allocations: 19.12 kB / 0.5233 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.4641, allocations: 34.98 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.4643, allocations: 49.97 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4643, allocations: 0 / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001934/0.4645, allocations: 81.64 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4645, allocations: 4.438 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4645, allocations: 1.734 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4646, allocations: 4.312 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/0.4646, allocations: 13.03 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4646, allocations: 3.938 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.4647, allocations: 9.344 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4647, allocations: 5.438 kB / 0.5235 GB, free: 15.33 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 9.961e-05/0.4648, allocations: 115 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.4649, allocations: 12.17 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.4652, allocations: 90.83 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4652, allocations: 1.672 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4652, allocations: 1.094 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4652, allocations: 0.6094 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.4657, allocations: 343.5 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4657, allocations: 0 / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.4657, allocations: 15.56 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4657, allocations: 0.75 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4658, allocations: 5.281 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4658, allocations: 9.188 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4658, allocations: 0 / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.466, allocations: 177.2 kB / 0.5242 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.4661, allocations: 79.02 kB / 0.5243 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.4661, allocations: 1.672 kB / 0.5243 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.4662, allocations: 12.89 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.4662, allocations: 8.062 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.4662, allocations: 1.188 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.652e-05/0.4663, allocations: 104.5 kB / 0.5244 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4663, allocations: 0 / 0.5244 GB, free: 14.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000267/0.4666, allocations: 21.12 kB / 0.5244 GB, free: 14.46 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.001492/0.4681, allocations: 1.048 MB / 0.5254 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.4683, allocations: 49.11 kB / 0.5255 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4683, allocations: 4.844 kB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.365e-05/0.4684, allocations: 24 kB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.4688, allocations: 28.23 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.4705, allocations: 1.375 MB / 0.5269 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4708, allocations: 0.6939 MB / 0.5276 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.56e-05/0.4708, allocations: 9.109 kB / 0.5276 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.4709, allocations: 28.06 kB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4709, allocations: 0 / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.4955, allocations: 2.776 MB / 0.5303 GB, free: 10.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.23, allocations: 12.42 kB / 0.5303 GB, free: 10.52 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time