Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001488, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002075/0.002075, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 83.81 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3617, allocations: 62.42 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002898/0.3646, allocations: 1.646 MB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3656, allocations: 0.5453 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.3657, allocations: 2.312 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.366, allocations: 93.53 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.3664, allocations: 118.9 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.3668, allocations: 94.84 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.367, allocations: 99.14 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3671, allocations: 29.8 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.3672, allocations: 41.47 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3674, allocations: 61.91 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3674, allocations: 4.094 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3675, allocations: 50.88 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.3676, allocations: 30.27 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.3676, allocations: 39.06 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.3679, allocations: 130.6 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3679, allocations: 1.375 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3679, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3679, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005253/0.3684, allocations: 429.2 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3685, allocations: 9.625 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.3685, allocations: 45.42 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.3686, allocations: 14.34 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.3688, allocations: 209.6 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3688, allocations: 7.125 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.3688, allocations: 8.5 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.369, allocations: 72.84 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.369, allocations: 1.375 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.369, allocations: 0 / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.369, allocations: 1.375 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.3692, allocations: 43.28 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.3696, allocations: 327.2 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3697, allocations: 73.97 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.3698, allocations: 23.84 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3698, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3699, allocations: 31.94 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3699, allocations: 0 / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001052/0.3709, allocations: 317.8 kB / 0.535 GB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.371, allocations: 52.75 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.3712, allocations: 238.3 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3712, allocations: 26.98 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.3713, allocations: 126.9 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.3714, allocations: 36.45 kB / 0.5354 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.3714, allocations: 27.06 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3715, allocations: 326.3 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.3716, allocations: 39.39 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.447e-05/0.3717, allocations: 37.06 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.372, allocations: 96.64 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.372, allocations: 1.062 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002634/0.3722, allocations: 134.2 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3723, allocations: 5.938 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3723, allocations: 0 / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3723, allocations: 5.094 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.3724, allocations: 28.89 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3724, allocations: 1.125 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.3725, allocations: 11.48 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3725, allocations: 2.312 kB / 0.5361 GB, free: 8.863 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 (13): * Single equations (assignments): 13 * 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.0001336/0.3727, allocations: 135.5 kB / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.3727, allocations: 14.22 kB / 0.5363 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.3731, allocations: 171.1 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3731, allocations: 2.25 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3731, allocations: 0 / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3731, allocations: 4 kB / 0.5364 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000654/0.3738, allocations: 486.6 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3738, allocations: 1.344 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.3739, allocations: 23.83 kB / 0.5369 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3739, allocations: 1.219 kB / 0.5369 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3739, allocations: 2.25 kB / 0.5369 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3739, allocations: 5.125 kB / 0.5369 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3739, allocations: 5.156 kB / 0.5369 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.3743, allocations: 239.1 kB / 0.5372 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.3743, allocations: 88.8 kB / 0.5373 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3744, allocations: 5.375 kB / 0.5373 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.3744, allocations: 2.656 kB / 0.5373 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.3745, allocations: 17.39 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3745, allocations: 3.875 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.3747, allocations: 178.3 kB / 0.5375 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3747, allocations: 0 / 0.5375 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.375, allocations: 30.62 kB / 0.5375 GB, free: 7.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 (13): * Single equations (assignments): 13 * 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.001655/0.3766, allocations: 1.131 MB / 0.5386 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.3769, allocations: 100.7 kB / 0.5387 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3769, allocations: 0 / 0.5387 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3771, allocations: 53.19 kB / 0.5387 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.3775, allocations: 29.81 kB / 0.5388 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3798, allocations: 1.852 MB / 0.5406 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.3802, allocations: 0.7153 MB / 0.5413 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.356e-05/0.3802, allocations: 22.09 kB / 0.5413 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.3803, allocations: 48.27 kB / 0.5413 GB, free: 4.488 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3803, allocations: 0 / 0.5413 GB, free: 4.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.4021, allocations: 3.528 MB / 0.5448 GB, free: 2.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.277, allocations: 5.453 kB / 0.5448 GB, free: 2.59 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y,d2_t_new.y,d2_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d2_t_new2.u,d2_t_new2.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(clock.y),der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(clock.y)),t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time