Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001119, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, 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.2242/0.2242, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 83.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3815, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003452/0.385, allocations: 1.728 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.3866, allocations: 1.027 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.3867, allocations: 0 / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.387, allocations: 39.09 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.3874, allocations: 90.88 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3876, allocations: 83.19 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3878, allocations: 101.5 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3879, allocations: 18.11 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3881, allocations: 45.09 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.3881, allocations: 33.5 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3882, allocations: 4.562 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3883, allocations: 47.72 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.3883, allocations: 14.81 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.3884, allocations: 39.98 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3886, allocations: 116.5 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3886, allocations: 4 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3887, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3887, allocations: 0 / 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.0006134/0.3893, allocations: 421 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3893, allocations: 9.625 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.3894, allocations: 32.12 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.3894, allocations: 10.34 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.3897, allocations: 219.8 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3897, allocations: 7.125 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.4e-05/0.3898, allocations: 9.297 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3899, allocations: 57.98 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.39, allocations: 1.375 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.39, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.39, allocations: 1.375 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.956e-05/0.3901, allocations: 17.61 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.3905, allocations: 290.8 kB / 0.5349 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.3907, allocations: 57.88 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.3907, allocations: 22.47 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3908, allocations: 4 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.3909, allocations: 61.14 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.391, allocations: 5.375 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005844/0.3915, allocations: 182.2 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.3916, allocations: 51.41 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.3918, allocations: 197.4 kB / 0.5355 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3918, allocations: 31.08 kB / 0.5355 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.3919, allocations: 104 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.3919, allocations: 23.73 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.392, allocations: 20.72 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3921, allocations: 330.4 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/0.3922, allocations: 19.17 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.3923, allocations: 38.67 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.3924, allocations: 55.72 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3924, allocations: 384 / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002005/0.3926, allocations: 107.4 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3926, allocations: 7.969 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3926, allocations: 5.344 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.3927, allocations: 5.203 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.3928, allocations: 24.3 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3928, allocations: 1.125 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.3928, allocations: 6.281 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3929, allocations: 3.781 kB / 0.5362 GB, free: 8.652 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.0001135/0.393, allocations: 129.9 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.393, allocations: 21.39 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.3931, allocations: 15.03 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3931, allocations: 1.125 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3931, allocations: 0 / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.3931, allocations: 5.219 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.3937, allocations: 397.6 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.3937, allocations: 1.031 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.3938, allocations: 7.531 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3938, allocations: 9.062 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3938, allocations: 2.156 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3938, allocations: 0 / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3938, allocations: 1.156 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.3942, allocations: 208.9 kB / 0.537 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.3943, allocations: 87.42 kB / 0.5371 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3944, allocations: 6.156 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3945, allocations: 10.28 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.3946, allocations: 7.516 kB / 0.5371 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3946, allocations: 3.562 kB / 0.5371 GB, free: 7.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.3947, allocations: 148 kB / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3947, allocations: 0 / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.395, allocations: 20.66 kB / 0.5373 GB, free: 7.688 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.001753/0.3968, allocations: 1.081 MB / 0.5383 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.397, allocations: 57.61 kB / 0.5384 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.397, allocations: 0 / 0.5384 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.3971, allocations: 30.02 kB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.3974, allocations: 31.12 kB / 0.5384 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3994, allocations: 1.67 MB / 0.5401 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.3999, allocations: 0.7106 MB / 0.5408 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.4, allocations: 9.953 kB / 0.5408 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.4001, allocations: 39.69 kB / 0.5408 GB, free: 4.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4001, allocations: 0 / 0.5408 GB, free: 4.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.426, allocations: 3.49 MB / 0.5442 GB, free: 2.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/8.085, allocations: 12.83 kB / 0.5442 GB, free: 2.691 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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