Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, 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.001292/0.001293, allocations: 202 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.363/1.363, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 79.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3417, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002864/0.3446, allocations: 1.732 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.3469, allocations: 1.625 MB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.347, allocations: 5.219 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.3473, allocations: 28.25 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.3477, allocations: 108 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.348, allocations: 79 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.3482, allocations: 103.4 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3484, allocations: 9.984 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.3485, allocations: 53.94 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3487, allocations: 46.09 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3487, allocations: 5.188 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.3489, allocations: 106.6 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.349, allocations: 21.14 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.3491, allocations: 43.72 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.3494, allocations: 166.2 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3494, allocations: 0 / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3494, allocations: 0 / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3494, allocations: 0 / 0.5346 GB, free: 10.31 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.0006712/0.3501, allocations: 431.3 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3502, allocations: 9.625 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.3502, allocations: 34.73 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3503, allocations: 14.28 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.3506, allocations: 215.5 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3506, allocations: 1.375 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.3507, allocations: 6.75 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.3509, allocations: 69.14 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3509, allocations: 1.375 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3509, allocations: 0 / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3509, allocations: 1.375 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.351, allocations: 25.55 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.3514, allocations: 285.5 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.3515, allocations: 57.94 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.3516, allocations: 22.47 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3516, allocations: 1.375 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.3518, allocations: 69.08 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3518, allocations: 0 / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005553/0.3524, allocations: 172.8 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.3524, allocations: 94.36 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3526, allocations: 159.6 kB / 0.5362 GB, free: 8.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3526, allocations: 27.08 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.3527, allocations: 104.2 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.3527, allocations: 19.84 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.3528, allocations: 24.36 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3529, allocations: 326.2 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.353, allocations: 15.06 kB / 0.5367 GB, free: 8.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.353, allocations: 44.69 kB / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3532, allocations: 63.27 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3532, allocations: 0 / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002142/0.3534, allocations: 99.34 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3534, allocations: 6.094 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3534, allocations: 3.938 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3535, allocations: 9.25 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3536, allocations: 17.34 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3536, allocations: 1.125 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.3537, allocations: 10.14 kB / 0.537 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3537, allocations: 2.156 kB / 0.537 GB, free: 8.055 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.0001125/0.3538, allocations: 117.5 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.3538, allocations: 12.72 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/0.3539, allocations: 15.64 kB / 0.5371 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3539, allocations: 9 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3539, allocations: 0.9062 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3539, allocations: 0 / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.3544, allocations: 396.4 kB / 0.5375 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3545, allocations: 5.438 kB / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.3545, allocations: 11.72 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3545, allocations: 1.219 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3545, allocations: 5.094 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3545, allocations: 5.328 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3546, allocations: 5.156 kB / 0.5375 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.3548, allocations: 199.3 kB / 0.5377 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.3549, allocations: 92.11 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3549, allocations: 2.125 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.355, allocations: 10.2 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.355, allocations: 3.438 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.3551, allocations: 11.55 kB / 0.5378 GB, free: 7.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.3552, allocations: 127.7 kB / 0.5379 GB, free: 7.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3552, allocations: 3.938 kB / 0.5379 GB, free: 7.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.3555, allocations: 45.58 kB / 0.538 GB, free: 7.094 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.001574/0.3571, allocations: 1.187 MB / 0.5391 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3573, allocations: 58.19 kB / 0.5392 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3573, allocations: 0 / 0.5392 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.3574, allocations: 34.08 kB / 0.5392 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.3577, allocations: 37.56 kB / 0.5393 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.3595, allocations: 1.586 MB / 0.5408 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3597, allocations: 0.7001 MB / 0.5415 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.248e-05/0.3598, allocations: 19.11 kB / 0.5415 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.3599, allocations: 38.22 kB / 0.5416 GB, free: 3.969 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3599, allocations: 0 / 0.5416 GB, free: 3.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.3815, allocations: 4.048 MB / 0.5455 GB, free: 1.719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.149, allocations: 11.8 kB / 0.5455 GB, free: 1.711 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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