Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 202 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.397/1.397, 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.2125/0.2125, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 87.8 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3056, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003076/0.3087, allocations: 1.622 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000985/0.3097, allocations: 0.546 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.3098, allocations: 1.375 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.3101, allocations: 134.7 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.3105, allocations: 123.1 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.3108, allocations: 117.6 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.311, allocations: 93.5 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3111, allocations: 24.84 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.516e-05/0.3112, allocations: 42.7 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3113, allocations: 77.77 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3113, allocations: 3.594 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3114, allocations: 48.62 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.3115, allocations: 40.81 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.3115, allocations: 34.19 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.3118, allocations: 121.4 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3118, allocations: 4 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3118, allocations: 1.156 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3118, allocations: 0 / 0.5335 GB, free: 11.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004866/0.3123, allocations: 441.7 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3123, allocations: 9 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.3124, allocations: 32.09 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.3124, allocations: 15.03 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.3126, allocations: 210.3 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.3126, allocations: 5.734 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3126, allocations: 14.66 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3128, allocations: 55.27 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3128, allocations: 0 / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3128, allocations: 9.391 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3128, allocations: 0 / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3129, allocations: 28.53 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.3133, allocations: 312.4 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/0.3135, allocations: 47.05 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.3135, allocations: 17.11 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3135, allocations: 1.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.3136, allocations: 31.94 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3136, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008389/0.3144, allocations: 255 kB / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.3145, allocations: 52.78 kB / 0.535 GB, free: 9.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.3147, allocations: 279.1 kB / 0.5352 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3147, allocations: 31.08 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.3148, allocations: 115 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.3149, allocations: 35.73 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.3149, allocations: 19.22 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.315, allocations: 324.3 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.3151, allocations: 32.31 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.3152, allocations: 28.3 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3154, allocations: 82.41 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3154, allocations: 3.938 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002223/0.3156, allocations: 113.9 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3156, allocations: 5.125 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3156, allocations: 1.094 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3156, allocations: 0 / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.3158, allocations: 17.89 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3158, allocations: 5.188 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.3158, allocations: 10.73 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3159, allocations: 6.438 kB / 0.536 GB, free: 8.953 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.577e-05/0.316, allocations: 134.6 kB / 0.5361 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.316, allocations: 13.72 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.3163, allocations: 137.2 kB / 0.5363 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3163, allocations: 5.125 kB / 0.5363 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3163, allocations: 3.938 kB / 0.5363 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3163, allocations: 0 / 0.5363 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.3169, allocations: 428.9 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3169, allocations: 1.094 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/0.317, allocations: 25.64 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.317, allocations: 1.125 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.317, allocations: 5.031 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.317, allocations: 5.172 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.317, allocations: 0 / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3173, allocations: 218.1 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.3173, allocations: 94.31 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3174, allocations: 0 / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.3174, allocations: 7.797 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.3175, allocations: 6.781 kB / 0.5371 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3175, allocations: 6.688 kB / 0.5371 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.3177, allocations: 209.2 kB / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3177, allocations: 0 / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000261/0.318, allocations: 23.81 kB / 0.5373 GB, free: 7.871 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.001517/0.3195, allocations: 1.108 MB / 0.5384 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.3198, allocations: 71.42 kB / 0.5384 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3198, allocations: 0 / 0.5384 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.897e-05/0.3199, allocations: 44 kB / 0.5385 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.3203, allocations: 26.77 kB / 0.5385 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.3224, allocations: 1.844 MB / 0.5403 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.3227, allocations: 0.7179 MB / 0.541 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.3228, allocations: 24.59 kB / 0.541 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.3229, allocations: 45.58 kB / 0.5411 GB, free: 4.652 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3229, allocations: 3.938 kB / 0.5411 GB, free: 4.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.3446, allocations: 3.455 MB / 0.5444 GB, free: 2.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.122, allocations: 4.828 kB / 0.5444 GB, free: 2.785 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time