Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, 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.001472/0.001472, 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.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 75.89 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3097, allocations: 62.43 MB / 0.5306 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003106/0.3129, allocations: 1.739 MB / 0.5323 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3145, allocations: 1.018 MB / 0.5333 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.3147, allocations: 5.906 kB / 0.5333 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.315, allocations: 40.31 kB / 0.5333 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.3153, allocations: 100.3 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.3156, allocations: 74.88 kB / 0.5335 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3158, allocations: 108.7 kB / 0.5336 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.3159, allocations: 11.31 kB / 0.5336 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.316, allocations: 44.12 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.3161, allocations: 37.41 kB / 0.5337 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3161, allocations: 4.125 kB / 0.5337 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3162, allocations: 43.48 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.3163, allocations: 24.11 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.3163, allocations: 39.97 kB / 0.5338 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.3166, allocations: 122 kB / 0.5339 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3166, allocations: 4 kB / 0.5339 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3166, allocations: 0 / 0.5339 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.3166, allocations: 1.375 kB / 0.5339 GB, free: 11.03 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005816/0.3172, allocations: 417.2 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3173, allocations: 9.625 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.3173, allocations: 32.12 kB / 0.5344 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.3173, allocations: 14.25 kB / 0.5344 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3176, allocations: 220.5 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3177, allocations: 5.75 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3177, allocations: 6.688 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.3178, allocations: 54.05 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3178, allocations: 3.984 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3179, allocations: 1.375 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3179, allocations: 0 / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.318, allocations: 18.98 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3183, allocations: 294.8 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.3185, allocations: 61.91 kB / 0.535 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.3186, allocations: 18.48 kB / 0.535 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3186, allocations: 5.312 kB / 0.535 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.3187, allocations: 72.98 kB / 0.5351 GB, free: 9.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3188, allocations: 4 kB / 0.5351 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005169/0.3193, allocations: 170.3 kB / 0.5353 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3193, allocations: 56.72 kB / 0.5353 GB, free: 9.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3195, allocations: 211.9 kB / 0.5355 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3196, allocations: 26.98 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.3196, allocations: 101.7 kB / 0.5356 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.3197, allocations: 27.39 kB / 0.5357 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.3197, allocations: 20.09 kB / 0.5357 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3198, allocations: 335.2 kB / 0.536 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.3199, allocations: 14.31 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.32, allocations: 39.14 kB / 0.5361 GB, free: 8.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.3201, allocations: 71.94 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3201, allocations: 384 / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001874/0.3203, allocations: 95.41 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3203, allocations: 9.469 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3203, allocations: 1.156 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3203, allocations: 1.188 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.3204, allocations: 28.33 kB / 0.5363 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3204, allocations: 1.125 kB / 0.5363 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.3205, allocations: 6.344 kB / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3205, allocations: 2.312 kB / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001121/0.3206, allocations: 128.1 kB / 0.5364 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3207, allocations: 18.56 kB / 0.5364 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.3207, allocations: 18.73 kB / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3207, allocations: 1.156 kB / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3207, allocations: 0 / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3207, allocations: 5.062 kB / 0.5364 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.3212, allocations: 390.5 kB / 0.5368 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3212, allocations: 1.125 kB / 0.5368 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.3212, allocations: 11.27 kB / 0.5368 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3212, allocations: 5.125 kB / 0.5368 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.3212, allocations: 6.219 kB / 0.5368 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3213, allocations: 1.25 kB / 0.5368 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3213, allocations: 7.875 kB / 0.5368 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.3215, allocations: 196.8 kB / 0.537 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.3215, allocations: 92.72 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.3216, allocations: 9.031 kB / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.3217, allocations: 6 kB / 0.5371 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.3217, allocations: 3.531 kB / 0.5371 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.3217, allocations: 7.078 kB / 0.5371 GB, free: 7.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3218, allocations: 162.9 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3218, allocations: 1.25 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3221, allocations: 20.69 kB / 0.5373 GB, free: 7.848 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001374/0.3235, allocations: 1.087 MB / 0.5384 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.3237, allocations: 58.27 kB / 0.5384 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3237, allocations: 4 kB / 0.5384 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.3238, allocations: 29.11 kB / 0.5385 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3241, allocations: 43.31 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.001695/0.3258, allocations: 1.685 MB / 0.5401 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3261, allocations: 0.7106 MB / 0.5408 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.3262, allocations: 21.53 kB / 0.5409 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.3262, allocations: 36.23 kB / 0.5409 GB, free: 4.727 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3263, allocations: 0 / 0.5409 GB, free: 4.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.3481, allocations: 3.534 MB / 0.5443 GB, free: 2.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.02, allocations: 13.02 kB / 0.5444 GB, free: 2.816 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time