Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, 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.001346/0.001346, allocations: 201.2 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.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2439/0.2439, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3862, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002759/0.3889, allocations: 1.688 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3906, allocations: 1.002 MB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.87e-05/0.3907, allocations: 1.281 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.3911, allocations: 62.95 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.3914, allocations: 105.3 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.3916, allocations: 74.27 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.3918, allocations: 103.7 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.781e-05/0.3919, allocations: 8.359 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.392, allocations: 52.39 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.3921, allocations: 47.06 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.3922, allocations: 4.125 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.3923, allocations: 32.62 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.3923, allocations: 22.73 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.3924, allocations: 34.61 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.3926, allocations: 104.5 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3926, allocations: 0 / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3927, allocations: 0 / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.3927, allocations: 4 kB / 0.5338 GB, free: 10.92 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.0006056/0.3933, allocations: 407.7 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.3933, allocations: 9.625 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.953e-05/0.3934, allocations: 40.06 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.3935, allocations: 8.969 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.3938, allocations: 215.8 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3938, allocations: 1.75 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3939, allocations: 5.312 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.394, allocations: 55.3 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.394, allocations: 5.359 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3941, allocations: 0 / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3941, allocations: 1.375 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.3942, allocations: 14.86 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.3944, allocations: 183.3 kB / 0.5347 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3946, allocations: 63.05 kB / 0.5348 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.3947, allocations: 17.11 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3947, allocations: 1.375 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.3949, allocations: 64.8 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.3949, allocations: 0 / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003144/0.3952, allocations: 98.64 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3953, allocations: 60.67 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.3955, allocations: 192.5 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3955, allocations: 30.92 kB / 0.5352 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.3955, allocations: 96.98 kB / 0.5353 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.3956, allocations: 21.2 kB / 0.5354 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.3956, allocations: 20.16 kB / 0.5354 GB, free: 9.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3957, allocations: 325.2 kB / 0.5357 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.3958, allocations: 11.81 kB / 0.5357 GB, free: 9.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.3959, allocations: 31.98 kB / 0.5357 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/0.396, allocations: 46.58 kB / 0.5358 GB, free: 8.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.396, allocations: 5.188 kB / 0.5358 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001596/0.3961, allocations: 74.78 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3962, allocations: 5.5 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3962, allocations: 4.938 kB / 0.5359 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3962, allocations: 1.094 kB / 0.5359 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.3963, allocations: 20.08 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3963, allocations: 1.188 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.3963, allocations: 2.219 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3964, allocations: 6.188 kB / 0.5359 GB, free: 8.902 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.0001053/0.3965, allocations: 126.4 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.3965, allocations: 13.41 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.3965, allocations: 13.5 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3966, allocations: 1.156 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3966, allocations: 4 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3966, allocations: 5.047 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.3967, allocations: 192.3 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3967, allocations: 1.125 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.3968, allocations: 3.406 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3968, allocations: 0 / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3968, allocations: 5.203 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3968, allocations: 1.406 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3968, allocations: 0 / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.397, allocations: 117.5 kB / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.397, allocations: 92.38 kB / 0.5364 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.3971, allocations: 1.188 kB / 0.5364 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.3971, allocations: 1.125 kB / 0.5364 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.3971, allocations: 2.281 kB / 0.5364 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3972, allocations: 6.297 kB / 0.5365 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3973, allocations: 143.8 kB / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3973, allocations: 0 / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00022/0.3975, allocations: 26.17 kB / 0.5366 GB, free: 8.199 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.00153/0.3991, allocations: 0.9523 MB / 0.5375 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3993, allocations: 35.36 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.3993, allocations: 4 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.3994, allocations: 28.36 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3998, allocations: 26.5 kB / 0.5376 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.4019, allocations: 1.492 MB / 0.5391 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.4023, allocations: 0.7011 MB / 0.5398 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.731e-05/0.4024, allocations: 19.66 kB / 0.5398 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.4025, allocations: 38.45 kB / 0.5398 GB, free: 5.34 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4025, allocations: 3.938 kB / 0.5398 GB, free: 5.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.4254, allocations: 3.187 MB / 0.5429 GB, free: 3.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.934, allocations: 5.141 kB / 0.543 GB, free: 3.586 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time