Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001479, allocations: 121.7 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.001813/0.001814, allocations: 199.8 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.343/1.343, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3139, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00427/0.3182, allocations: 1.695 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3202, allocations: 0.9971 MB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.3204, allocations: 1.969 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.3208, allocations: 88.31 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.3212, allocations: 110.2 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.3215, allocations: 73.56 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.3217, allocations: 113 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.3218, allocations: 9.734 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3219, allocations: 49.77 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3221, allocations: 57.94 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.3221, allocations: 2.75 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3223, allocations: 28.62 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.3223, allocations: 28.05 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.3224, allocations: 35.98 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.3227, allocations: 105.8 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3227, allocations: 0 / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3227, allocations: 1.375 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3227, allocations: 4 kB / 0.5339 GB, free: 10.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000685/0.3234, allocations: 412.9 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3235, allocations: 10.44 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.3235, allocations: 38.67 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.3236, allocations: 14.38 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.324, allocations: 220.2 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.324, allocations: 1.469 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.324, allocations: 5.719 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3241, allocations: 55.22 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3242, allocations: 1.188 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3242, allocations: 0 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3242, allocations: 1.688 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.955e-05/0.3243, allocations: 11.09 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.3245, allocations: 192.6 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3247, allocations: 59.47 kB / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.3247, allocations: 21.06 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3248, allocations: 1.312 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.3249, allocations: 63.92 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3249, allocations: 0 / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002885/0.3252, allocations: 95.98 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.3253, allocations: 52.59 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.3255, allocations: 225.6 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3255, allocations: 26.89 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.3256, allocations: 109.7 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3257, allocations: 18.09 kB / 0.5355 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.3257, allocations: 22.17 kB / 0.5355 GB, free: 9.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3258, allocations: 323.4 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.3259, allocations: 11.94 kB / 0.5358 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-05/0.326, allocations: 31.42 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.873e-05/0.3261, allocations: 51.14 kB / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3261, allocations: 3.938 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000173/0.3262, allocations: 84.78 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3263, allocations: 5.125 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3263, allocations: 0 / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3263, allocations: 1.844 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.3264, allocations: 20.67 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3264, allocations: 0.875 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.3265, allocations: 6.094 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.3265, allocations: 2.156 kB / 0.536 GB, free: 8.832 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 (7): * Single equations (assignments): 7 * 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.0001/0.3266, allocations: 129.7 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.3266, allocations: 10.25 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.3266, allocations: 14.09 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3267, allocations: 1.281 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3267, allocations: 0 / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3267, allocations: 9.016 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3268, allocations: 202.6 kB / 0.5363 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3268, allocations: 0 / 0.5363 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.3269, allocations: 3.844 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.3269, allocations: 1.125 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3269, allocations: 3.984 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3269, allocations: 1.219 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3269, allocations: 0 / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.3271, allocations: 118.4 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.3272, allocations: 83.77 kB / 0.5365 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3272, allocations: 1.5 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.3273, allocations: 5.375 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.3273, allocations: 6.734 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3273, allocations: 2.75 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.3275, allocations: 164.1 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3275, allocations: 0 / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000215/0.3277, allocations: 21.66 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001299/0.329, allocations: 0.949 MB / 0.5377 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.3292, allocations: 42.72 kB / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3292, allocations: 1.062 kB / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.558e-05/0.3293, allocations: 23.75 kB / 0.5377 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3296, allocations: 34.03 kB / 0.5378 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.3314, allocations: 1.565 MB / 0.5393 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.3318, allocations: 0.7056 MB / 0.54 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.471e-05/0.3318, allocations: 8.562 kB / 0.54 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.3319, allocations: 37.42 kB / 0.54 GB, free: 5.227 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3319, allocations: 0 / 0.54 GB, free: 5.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.3504, allocations: 3.289 MB / 0.5432 GB, free: 3.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.047, allocations: 14 kB / 0.5433 GB, free: 3.434 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result: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.table[5,1],t_new.table[5,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time