Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001505, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3569, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003096/0.36, allocations: 1.727 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.363, allocations: 1.625 MB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3631, allocations: 5.406 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.3636, allocations: 32.36 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.3641, allocations: 111.5 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3644, allocations: 76.16 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.3646, allocations: 102.2 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3647, allocations: 10.06 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3648, allocations: 50 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.365, allocations: 46.52 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.365, allocations: 4.344 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.3652, allocations: 107.3 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.3653, allocations: 24.64 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.3653, allocations: 36.52 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.3657, allocations: 169.1 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3657, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3657, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3657, allocations: 1.25 kB / 0.5346 GB, free: 10.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000566/0.3663, allocations: 429.5 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3663, allocations: 11 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.3664, allocations: 34.69 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.3664, allocations: 14.03 kB / 0.5351 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3667, allocations: 215.3 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3667, allocations: 5.266 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.3667, allocations: 6.625 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3669, allocations: 65.45 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3669, allocations: 1.219 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3669, allocations: 0 / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3669, allocations: 1.188 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.367, allocations: 26.3 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.3674, allocations: 285.3 kB / 0.5357 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3675, allocations: 57.92 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.3676, allocations: 22.47 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3676, allocations: 4 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.3678, allocations: 69.08 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3678, allocations: 1.375 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005374/0.3683, allocations: 176.8 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3684, allocations: 86.36 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.3686, allocations: 161 kB / 0.5362 GB, free: 8.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3686, allocations: 31.08 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.3687, allocations: 100.2 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.3687, allocations: 23.83 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.3687, allocations: 20.59 kB / 0.5364 GB, free: 8.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3689, allocations: 325.6 kB / 0.5367 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.3689, allocations: 18.98 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.369, allocations: 40.62 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.3691, allocations: 66.89 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3691, allocations: 0.9375 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.3693, allocations: 98.86 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3693, allocations: 5.406 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3693, allocations: 5.109 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3694, allocations: 1.094 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.3695, allocations: 24.67 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3695, allocations: 1.125 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.3695, allocations: 6.375 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.3695, allocations: 3.156 kB / 0.5369 GB, free: 8.051 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.0001241/0.3697, allocations: 125.9 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.3697, allocations: 17.31 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.3698, allocations: 12.03 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3698, allocations: 5 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3698, allocations: 0 / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3698, allocations: 1.125 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.3702, allocations: 404.8 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3703, allocations: 3.938 kB / 0.5375 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.3703, allocations: 11.72 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3703, allocations: 1.188 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3703, allocations: 1.344 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3703, allocations: 0.9375 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3703, allocations: 0.9062 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3706, allocations: 200.3 kB / 0.5377 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.3706, allocations: 95.47 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3706, allocations: 2.062 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.3707, allocations: 6.531 kB / 0.5378 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.3708, allocations: 7.703 kB / 0.5378 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3708, allocations: 6.562 kB / 0.5378 GB, free: 7.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3709, allocations: 128.1 kB / 0.5379 GB, free: 7.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3709, allocations: 4 kB / 0.5379 GB, free: 7.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.3712, allocations: 45.64 kB / 0.538 GB, free: 7.09 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.001578/0.3728, allocations: 1.188 MB / 0.5391 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.373, allocations: 59.28 kB / 0.5392 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.373, allocations: 4 kB / 0.5392 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.3731, allocations: 25.75 kB / 0.5392 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.3734, allocations: 42.7 kB / 0.5393 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.375, allocations: 1.583 MB / 0.5408 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.3753, allocations: 0.6996 MB / 0.5415 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.834e-05/0.3754, allocations: 22.73 kB / 0.5415 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.3754, allocations: 33.7 kB / 0.5415 GB, free: 3.965 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3754, allocations: 1.125 kB / 0.5415 GB, free: 3.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.3967, allocations: 4.056 MB / 0.5455 GB, free: 1.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.976, allocations: 8.938 kB / 0.5455 GB, free: 1.703 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time