Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",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.001488/0.001488, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001511/0.001512, 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2006/0.2006, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3534, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002746/0.3562, allocations: 1.588 MB / 0.52 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006619/0.3569, allocations: 402.5 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.357, allocations: 1.031 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.3573, allocations: 72.42 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.3575, allocations: 67.41 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.3578, allocations: 81.56 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.3579, allocations: 72.86 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3581, allocations: 22.69 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.58e-05/0.3581, allocations: 34.17 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3582, allocations: 53.66 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3583, allocations: 4 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.691e-05/0.3583, allocations: 42.95 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.3584, allocations: 18.33 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.3584, allocations: 31.06 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3586, allocations: 100.8 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3586, allocations: 5 kB / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3586, allocations: 0 / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3587, allocations: 7.875 kB / 0.521 GB, free: 1.684 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.0004005/0.3591, allocations: 408.2 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3591, allocations: 9.891 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.874e-05/0.3591, allocations: 32.44 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.3592, allocations: 9.281 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3593, allocations: 194.7 kB / 0.5216 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3594, allocations: 1.5 kB / 0.5216 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.3594, allocations: 15.38 kB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3595, allocations: 55.23 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3595, allocations: 5.672 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.3595, allocations: 0 / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3596, allocations: 1.281 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.918e-05/0.3596, allocations: 24.34 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.36, allocations: 294.4 kB / 0.522 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3601, allocations: 50.05 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.3601, allocations: 19.39 kB / 0.522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3602, allocations: 1.609 kB / 0.522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.3602, allocations: 31.84 kB / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3602, allocations: 0 / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000855/0.361, allocations: 222.7 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.3611, allocations: 56.72 kB / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3613, allocations: 206.9 kB / 0.5225 GB, free: 296 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.3613, allocations: 34.64 kB / 0.5226 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.3613, allocations: 105 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.3614, allocations: 27.58 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.3614, allocations: 21.28 kB / 0.5227 GB, free: 112 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3616, allocations: 322.3 kB / 0.523 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.3616, allocations: 27.27 kB / 0.523 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.3617, allocations: 22.05 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3619, allocations: 62.61 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3619, allocations: 5.25 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000207/0.3621, allocations: 101.3 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3621, allocations: 5.219 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3621, allocations: 0 / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3621, allocations: 1.828 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3623, allocations: 20.5 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3623, allocations: 5.062 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.3623, allocations: 4.672 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3623, allocations: 6.688 kB / 0.5233 GB, free: 15.68 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 9.627e-05/0.3624, allocations: 126.5 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.3625, allocations: 9.5 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3627, allocations: 117.3 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3627, allocations: 5.062 kB / 0.5235 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3628, allocations: 5.641 kB / 0.5235 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3628, allocations: 0.7031 kB / 0.5235 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.3633, allocations: 407.8 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3633, allocations: 5.031 kB / 0.5239 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.3634, allocations: 20.95 kB / 0.5239 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3634, allocations: 1.25 kB / 0.5239 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3634, allocations: 1.734 kB / 0.5239 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3634, allocations: 1.125 kB / 0.5239 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3634, allocations: 0.5625 kB / 0.5239 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.3636, allocations: 207.3 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.3637, allocations: 88.66 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3637, allocations: 2.156 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.3638, allocations: 8.219 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3638, allocations: 9.234 kB / 0.5242 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.3639, allocations: 11.62 kB / 0.5242 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.364, allocations: 155.8 kB / 0.5244 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.364, allocations: 0 / 0.5244 GB, free: 14.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.3643, allocations: 23.81 kB / 0.5244 GB, free: 14.73 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.001381/0.3656, allocations: 1.086 MB / 0.5255 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3659, allocations: 62.97 kB / 0.5255 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3659, allocations: 1.75 kB / 0.5255 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.366, allocations: 33.03 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3663, allocations: 23.42 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.001671/0.368, allocations: 1.64 MB / 0.5272 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.3683, allocations: 0.7129 MB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.573e-05/0.3684, allocations: 9.75 kB / 0.5279 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.3684, allocations: 32.27 kB / 0.5279 GB, free: 11.81 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3684, allocations: 0 / 0.5279 GB, free: 11.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.3885, allocations: 3.044 MB / 0.5309 GB, free: 10.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/8.053, allocations: 10.11 kB / 0.5309 GB, free: 10.5 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y,clock.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