Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001438/0.001438, 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.001551/0.001551, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.492/1.492, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2187/0.2187, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 71.88 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3486, allocations: 60.81 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002877/0.3516, allocations: 1.584 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006785/0.3523, allocations: 409.8 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.3523, allocations: 1.281 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.3526, allocations: 71.84 kB / 0.5205 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.3528, allocations: 64.05 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.3531, allocations: 80.34 kB / 0.5206 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3533, allocations: 79.28 kB / 0.5207 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.3534, allocations: 21.69 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.3534, allocations: 36.86 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.3535, allocations: 50.77 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3536, allocations: 3.281 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.3537, allocations: 47.38 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.3537, allocations: 18.72 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.3538, allocations: 26.92 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.354, allocations: 109.2 kB / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.354, allocations: 0 / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.354, allocations: 0 / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.354, allocations: 5.156 kB / 0.521 GB, free: 1.695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003916/0.3544, allocations: 402.6 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3544, allocations: 9.438 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.3545, allocations: 36.62 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.3545, allocations: 9.062 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.3546, allocations: 198.1 kB / 0.5216 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.3546, allocations: 5.375 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3547, allocations: 11.14 kB / 0.5216 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.3548, allocations: 57 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3548, allocations: 3.906 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3548, allocations: 1.062 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3548, allocations: 1.094 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.355, allocations: 24.62 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.3553, allocations: 289.5 kB / 0.522 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.3554, allocations: 46.5 kB / 0.522 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.3554, allocations: 19.8 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3555, allocations: 1.094 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.3555, allocations: 32.44 kB / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3555, allocations: 0 / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008929/0.3564, allocations: 226.6 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.3564, allocations: 57 kB / 0.5223 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.3566, allocations: 206.3 kB / 0.5225 GB, free: 312 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-06/0.3567, allocations: 30.8 kB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.3567, allocations: 107.9 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3567, allocations: 25.89 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.3568, allocations: 19.78 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3569, allocations: 322.9 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.357, allocations: 25.19 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/0.3571, allocations: 27.92 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3573, allocations: 63.73 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3573, allocations: 0 / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002313/0.3575, allocations: 108.5 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3575, allocations: 10.06 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3576, allocations: 0 / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3576, allocations: 1.219 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3577, allocations: 20.56 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3577, allocations: 5.578 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.3578, allocations: 4.547 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3578, allocations: 6.25 kB / 0.5233 GB, free: 15.69 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 (8): * Single equations (assignments): 8 * 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.0001033/0.3579, allocations: 126.9 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.3579, allocations: 9.656 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.3582, allocations: 109.8 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3582, allocations: 1.125 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3582, allocations: 4.594 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3582, allocations: 1.188 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.3588, allocations: 416.1 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3588, allocations: 5.156 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.3589, allocations: 16.36 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3589, allocations: 1.156 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3589, allocations: 5.812 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3589, allocations: 1.875 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3589, allocations: 0 / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3592, allocations: 203.6 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.3593, allocations: 93.08 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3593, allocations: 1.312 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.3594, allocations: 8.703 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.3594, allocations: 10.48 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.3594, allocations: 5.969 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3595, allocations: 156.1 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3595, allocations: 0 / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3598, allocations: 23.38 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.001358/0.3612, allocations: 1.085 MB / 0.5255 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3614, allocations: 71.08 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3614, allocations: 1.656 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.851e-05/0.3615, allocations: 35.23 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.3619, allocations: 27.67 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3637, allocations: 1.634 MB / 0.5272 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.364, allocations: 0.7097 MB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.864e-05/0.3641, allocations: 12.55 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.3642, allocations: 32.69 kB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3642, allocations: 0 / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.3857, allocations: 3.031 MB / 0.5309 GB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/8.115, allocations: 10.33 kB / 0.5309 GB, free: 10.52 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time