Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",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.001242/0.001242, allocations: 110.4 kB / 17.78 MB, free: 5.293 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.001178/0.001178, allocations: 187 kB / 18.71 MB, free: 4.363 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2037/0.2037, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3489, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002876/0.3518, allocations: 1.558 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3535, allocations: 1.035 MB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.3536, allocations: 1.125 kB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.3539, allocations: 20.47 kB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.3542, allocations: 41.86 kB / 0.521 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.3546, allocations: 103.5 kB / 0.5211 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.3548, allocations: 59.39 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3549, allocations: 16.11 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.3549, allocations: 23.02 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.3551, allocations: 30.11 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3551, allocations: 3.312 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.3553, allocations: 45.2 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.3553, allocations: 13.36 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.3554, allocations: 20.78 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.3557, allocations: 90.28 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3557, allocations: 7.938 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3557, allocations: 0 / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3557, allocations: 5.062 kB / 0.5214 GB, free: 1.25 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.0004596/0.3562, allocations: 374.9 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3562, allocations: 9.031 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.3562, allocations: 36.52 kB / 0.5218 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3563, allocations: 8.094 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.3565, allocations: 195 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3565, allocations: 1.406 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.3565, allocations: 6.781 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3567, allocations: 69.12 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3567, allocations: 1.062 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3567, allocations: 0.5625 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3567, allocations: 1.062 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.098e-05/0.3568, allocations: 23.61 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.3571, allocations: 280.4 kB / 0.5224 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3574, allocations: 45.47 kB / 0.5224 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.3574, allocations: 17.77 kB / 0.5225 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3574, allocations: 1.859 kB / 0.5225 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.3575, allocations: 36.44 kB / 0.5225 GB, free: 172 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3575, allocations: 0 / 0.5225 GB, free: 172 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005577/0.358, allocations: 153.4 kB / 0.5226 GB, free: 96 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.3581, allocations: 79.12 kB / 0.5227 GB, free: 0 / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.3583, allocations: 131.7 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3583, allocations: 26.64 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.3583, allocations: 92.17 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.3584, allocations: 15.89 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.3584, allocations: 23.12 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.3585, allocations: 323.1 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.3586, allocations: 20.73 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.3587, allocations: 33.27 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3588, allocations: 56.55 kB / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3588, allocations: 4.031 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.359, allocations: 84.66 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3591, allocations: 5.781 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3591, allocations: 0.7969 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.3591, allocations: 0 / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.3592, allocations: 16.48 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3592, allocations: 1.125 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.3592, allocations: 4.906 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.3592, allocations: 9.344 kB / 0.5235 GB, free: 15.3 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 0.000105/0.3594, allocations: 115.6 kB / 0.5236 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.3594, allocations: 7.844 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.3597, allocations: 101.3 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3597, allocations: 3.938 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3597, allocations: 5.203 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3597, allocations: 1 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.3602, allocations: 361.3 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3602, allocations: 0.75 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.3603, allocations: 11.81 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3603, allocations: 1.828 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.3603, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3603, allocations: 4.969 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3603, allocations: 0.7969 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.3606, allocations: 184.9 kB / 0.5243 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.3607, allocations: 79.86 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3607, allocations: 1.891 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.3608, allocations: 9.344 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.3608, allocations: 3.25 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3608, allocations: 2.188 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.3609, allocations: 107.1 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.361, allocations: 4 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3612, allocations: 24.33 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.001524/0.3628, allocations: 1.052 MB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.363, allocations: 58.11 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.363, allocations: 0 / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.3631, allocations: 25.62 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.3635, allocations: 17.42 kB / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3651, allocations: 1.402 MB / 0.527 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3654, allocations: 0.692 MB / 0.5277 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.751e-05/0.3654, allocations: 29.34 kB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.3655, allocations: 28.69 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3655, allocations: 0 / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.3875, allocations: 2.782 MB / 0.5305 GB, free: 10.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.863, allocations: 13.05 kB / 0.5305 GB, free: 10.43 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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