Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 109.6 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 204.6 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 83.75 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3058, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002608/0.3085, allocations: 1.618 MB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009176/0.3094, allocations: 0.5399 MB / 0.5326 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.3095, allocations: 1.156 kB / 0.5326 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.3097, allocations: 77.77 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.31, allocations: 105.3 kB / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.3103, allocations: 94.91 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3104, allocations: 80.56 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.3105, allocations: 20.95 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/0.3106, allocations: 32.47 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3107, allocations: 59.06 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.3107, allocations: 6.688 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.3108, allocations: 44.86 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.3109, allocations: 20.17 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.3109, allocations: 33.23 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.3111, allocations: 108.4 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3111, allocations: 4 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3111, allocations: 0 / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3111, allocations: 0 / 0.5333 GB, free: 11.3 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.0004494/0.3116, allocations: 415.8 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3116, allocations: 9.625 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.3116, allocations: 36.06 kB / 0.5337 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3117, allocations: 10.34 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3119, allocations: 199.8 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3119, allocations: 5.734 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.3119, allocations: 18.97 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3121, allocations: 57.97 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3121, allocations: 1.375 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3121, allocations: 3.938 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3121, allocations: 1.375 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.412e-05/0.3122, allocations: 35.03 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.3125, allocations: 287 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3127, allocations: 47.06 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.3127, allocations: 15.81 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3127, allocations: 1.375 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.3128, allocations: 35.88 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3128, allocations: 0 / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008532/0.3136, allocations: 225.8 kB / 0.5346 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.3137, allocations: 52.75 kB / 0.5347 GB, free: 9.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.3139, allocations: 213.7 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3139, allocations: 26.8 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.314, allocations: 105.8 kB / 0.535 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.314, allocations: 34.78 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.3141, allocations: 23.41 kB / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3142, allocations: 322.2 kB / 0.5354 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.3143, allocations: 25.97 kB / 0.5354 GB, free: 9.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.3143, allocations: 26.73 kB / 0.5354 GB, free: 9.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3145, allocations: 59.48 kB / 0.5355 GB, free: 9.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3145, allocations: 5.156 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000191/0.3147, allocations: 95.33 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3147, allocations: 5.844 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3147, allocations: 0 / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3147, allocations: 1.031 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.3148, allocations: 17.58 kB / 0.5356 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.3149, allocations: 4.25 kB / 0.5356 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.3149, allocations: 11.8 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3149, allocations: 6.031 kB / 0.5356 GB, free: 9.129 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 8.803e-05/0.315, allocations: 120.7 kB / 0.5358 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.3151, allocations: 17.11 kB / 0.5358 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.3153, allocations: 127.9 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3153, allocations: 1.281 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.3154, allocations: 11.92 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3154, allocations: 1.188 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.3159, allocations: 402.8 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3159, allocations: 1.375 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.3159, allocations: 21.67 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.316, allocations: 0 / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.316, allocations: 9.312 kB / 0.5363 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.316, allocations: 5.312 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.316, allocations: 1.375 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.3162, allocations: 208.2 kB / 0.5365 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.3163, allocations: 87.7 kB / 0.5366 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3163, allocations: 1.375 kB / 0.5366 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.3164, allocations: 10.73 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.3164, allocations: 4.125 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3164, allocations: 6.75 kB / 0.5366 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3166, allocations: 163 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3166, allocations: 0 / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3168, allocations: 21.7 kB / 0.5368 GB, free: 8.078 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.001372/0.3182, allocations: 1.089 MB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3184, allocations: 66.61 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3184, allocations: 4 kB / 0.5379 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.3185, allocations: 41.58 kB / 0.538 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3189, allocations: 20.11 kB / 0.538 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.3206, allocations: 1.664 MB / 0.5396 GB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3208, allocations: 0.7036 MB / 0.5403 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.3209, allocations: 12.41 kB / 0.5403 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.321, allocations: 36.39 kB / 0.5404 GB, free: 4.992 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.321, allocations: 1.25 kB / 0.5404 GB, free: 4.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.3496, allocations: 3.113 MB / 0.5434 GB, free: 3.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.2, allocations: 1.156 kB / 0.5434 GB, free: 3.285 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.nHeaderLines,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