Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002118/0.002118, allocations: 198 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.317/1.317, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 76.11 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3961, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002953/0.3991, allocations: 1.73 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.4008, allocations: 1.014 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.4009, allocations: 5.438 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.4012, allocations: 42.67 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.4016, allocations: 99.31 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.4018, allocations: 74.58 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.402, allocations: 110.6 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4021, allocations: 5.375 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.993e-05/0.4022, allocations: 43.94 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.4023, allocations: 38.78 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.4023, allocations: 4.125 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.4025, allocations: 47.48 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.4025, allocations: 22.73 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.4026, allocations: 35.98 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.4028, allocations: 116.5 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4028, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4028, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4028, allocations: 1.375 kB / 0.5339 GB, free: 10.86 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.0005658/0.4034, allocations: 425.1 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4034, allocations: 9.625 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.4035, allocations: 34.75 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.4035, allocations: 10.34 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.4038, allocations: 221.1 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.4039, allocations: 5.75 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.4039, allocations: 6.688 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.404, allocations: 54.05 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4041, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.4041, allocations: 4 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.4041, allocations: 1.375 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.493e-05/0.4042, allocations: 18.98 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.4046, allocations: 294.8 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.4048, allocations: 61.91 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.4048, allocations: 25.09 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.4048, allocations: 1.375 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.405, allocations: 65.14 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.405, allocations: 3.938 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006412/0.4057, allocations: 170.2 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.4057, allocations: 52.78 kB / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.4059, allocations: 207.7 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4059, allocations: 26.67 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.406, allocations: 101.9 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.406, allocations: 23.08 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.4061, allocations: 24.09 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4062, allocations: 322.6 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.4063, allocations: 23.3 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.4064, allocations: 35.3 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.4065, allocations: 67.56 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4065, allocations: 3.938 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001993/0.4067, allocations: 99.53 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4067, allocations: 9.375 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4067, allocations: 1.219 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4068, allocations: 0 / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.4069, allocations: 21.39 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4069, allocations: 5.219 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.4069, allocations: 6.094 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4069, allocations: 2.719 kB / 0.5362 GB, free: 8.645 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.0001209/0.4071, allocations: 127 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.4071, allocations: 14.59 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.4072, allocations: 18.02 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4072, allocations: 1.188 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4072, allocations: 4 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4072, allocations: 5.156 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.4077, allocations: 393.8 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4077, allocations: 1.094 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.4077, allocations: 10.86 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4077, allocations: 5.062 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4077, allocations: 6.312 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4077, allocations: 1.125 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4077, allocations: 0 / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.408, allocations: 200.4 kB / 0.537 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.408, allocations: 88.27 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.4081, allocations: 10.34 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.4082, allocations: 5.359 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.4082, allocations: 4.312 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.4082, allocations: 7.094 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.4083, allocations: 148.8 kB / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4084, allocations: 4 kB / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.4086, allocations: 24.7 kB / 0.5373 GB, free: 7.684 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.001463/0.4101, allocations: 1.085 MB / 0.5383 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.4103, allocations: 62.42 kB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4103, allocations: 0 / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.4104, allocations: 29.33 kB / 0.5384 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.4108, allocations: 39.17 kB / 0.5384 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.4126, allocations: 1.656 MB / 0.5401 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.4129, allocations: 0.7057 MB / 0.5408 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.413, allocations: 17.59 kB / 0.5408 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.4131, allocations: 35.14 kB / 0.5408 GB, free: 4.586 MB / 398.1 MB Notification: Performance of SimCode: time 2.064e-06/0.4131, allocations: 1.156 kB / 0.5408 GB, free: 4.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.4333, allocations: 3.479 MB / 0.5442 GB, free: 2.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/7.977, allocations: 16.05 kB / 0.5442 GB, free: 2.691 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time