Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002381/0.002381, 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.6/1.6, 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.2252/0.2252, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 76.09 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3776, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003599/0.3812, allocations: 1.734 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.3837, allocations: 1.64 MB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3838, allocations: 0 / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3841, allocations: 38.05 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.3845, allocations: 98.78 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.3848, allocations: 75.73 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.385, allocations: 105.7 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.3851, allocations: 14.64 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3852, allocations: 49.94 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.3854, allocations: 38.62 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3854, allocations: 5.312 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.3857, allocations: 110.5 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.3857, allocations: 21.2 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.603e-05/0.3858, allocations: 35.5 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.3861, allocations: 166.1 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3862, allocations: 0 / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3862, allocations: 0 / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3862, allocations: 0 / 0.5346 GB, free: 10.29 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.0006726/0.3869, allocations: 439.3 kB / 0.535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3869, allocations: 9.625 kB / 0.535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.387, allocations: 40.11 kB / 0.5351 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.387, allocations: 8.969 kB / 0.5351 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.3873, allocations: 211.5 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3873, allocations: 1.375 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3874, allocations: 2.75 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3876, allocations: 78.44 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3876, allocations: 0 / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3876, allocations: 0 / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3876, allocations: 1.375 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.878e-05/0.3877, allocations: 22.98 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.3881, allocations: 285.5 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3883, allocations: 61.88 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.3883, allocations: 21.09 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3884, allocations: 1.375 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3885, allocations: 73.06 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3885, allocations: 0 / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005518/0.3891, allocations: 172.8 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.3892, allocations: 86.42 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3894, allocations: 163.6 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3894, allocations: 27.08 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.3894, allocations: 104.2 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.3895, allocations: 15.84 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.3895, allocations: 28.67 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3897, allocations: 322.1 kB / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.3897, allocations: 18.12 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.3898, allocations: 49.72 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.3899, allocations: 55.45 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3899, allocations: 0 / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.3901, allocations: 107.5 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3902, allocations: 5.781 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3902, allocations: 0 / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3902, allocations: 5.562 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.3903, allocations: 15.97 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3903, allocations: 1.125 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.3904, allocations: 6.953 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3904, allocations: 6.438 kB / 0.537 GB, free: 8.031 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 9.748e-05/0.3905, allocations: 124.6 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3905, allocations: 12.97 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.3906, allocations: 16.55 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3906, allocations: 4.906 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3906, allocations: 4 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3906, allocations: 0.9062 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.3911, allocations: 396.2 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3911, allocations: 4.875 kB / 0.5375 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.3912, allocations: 7.781 kB / 0.5375 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3912, allocations: 1.156 kB / 0.5375 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3912, allocations: 5.031 kB / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3912, allocations: 5.078 kB / 0.5375 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3912, allocations: 5.188 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.3914, allocations: 199.4 kB / 0.5377 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.3915, allocations: 92.42 kB / 0.5378 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.3915, allocations: 2.156 kB / 0.5378 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.3916, allocations: 6.609 kB / 0.5378 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3917, allocations: 3.094 kB / 0.5378 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3917, allocations: 15.41 kB / 0.5378 GB, free: 7.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3918, allocations: 122.8 kB / 0.5379 GB, free: 7.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3918, allocations: 1.094 kB / 0.5379 GB, free: 7.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.3921, allocations: 49.45 kB / 0.538 GB, free: 7.07 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.001712/0.3939, allocations: 1.184 MB / 0.5391 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3941, allocations: 58.88 kB / 0.5392 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3941, allocations: 0 / 0.5392 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.412e-05/0.3942, allocations: 33.39 kB / 0.5392 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3946, allocations: 32.17 kB / 0.5393 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.3966, allocations: 1.586 MB / 0.5408 GB, free: 4.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3969, allocations: 0.6993 MB / 0.5415 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.935e-05/0.397, allocations: 23.81 kB / 0.5415 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.3971, allocations: 45.88 kB / 0.5416 GB, free: 3.941 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3971, allocations: 0 / 0.5416 GB, free: 3.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.427, allocations: 4.046 MB / 0.5455 GB, free: 1.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.945, allocations: 9.453 kB / 0.5455 GB, free: 1.688 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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