Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002215, allocations: 79.86 kB / 481 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3489, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003196/0.3522, allocations: 1.753 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3539, allocations: 1.027 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.354, allocations: 0 / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.3544, allocations: 87.19 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.3547, allocations: 123.4 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.355, allocations: 78.92 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3552, allocations: 114.6 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3553, allocations: 20.16 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.411e-05/0.3554, allocations: 49.78 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3555, allocations: 59.31 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3555, allocations: 4.125 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3556, allocations: 67.8 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.3557, allocations: 28.09 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.3557, allocations: 36 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.356, allocations: 138 kB / 0.5342 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.356, allocations: 0 / 0.5342 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.356, allocations: 0 / 0.5342 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.356, allocations: 1.375 kB / 0.5342 GB, free: 10.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005745/0.3566, allocations: 440.8 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3566, allocations: 13.56 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.3567, allocations: 44.06 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.3567, allocations: 14.34 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.357, allocations: 210 kB / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3571, allocations: 5.734 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3571, allocations: 10.69 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3573, allocations: 56.48 kB / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3573, allocations: 0 / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3573, allocations: 5.25 kB / 0.535 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3573, allocations: 1.219 kB / 0.535 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.3574, allocations: 32 kB / 0.535 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.3578, allocations: 304.4 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.3581, allocations: 62.17 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.3581, allocations: 21.94 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3582, allocations: 2.188 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.3583, allocations: 73.36 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3583, allocations: 0 / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007587/0.3591, allocations: 251.5 kB / 0.5357 GB, free: 9.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.3592, allocations: 57.62 kB / 0.5357 GB, free: 9.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3594, allocations: 224.7 kB / 0.536 GB, free: 9.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3594, allocations: 27.83 kB / 0.536 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.3595, allocations: 117.2 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.3596, allocations: 29.53 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.3596, allocations: 30.45 kB / 0.5362 GB, free: 8.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3598, allocations: 323 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.3599, allocations: 31.36 kB / 0.5365 GB, free: 8.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.948e-05/0.36, allocations: 43.61 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3601, allocations: 84.33 kB / 0.5366 GB, free: 8.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3601, allocations: 1.375 kB / 0.5366 GB, free: 8.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000218/0.3604, allocations: 125.6 kB / 0.5367 GB, free: 8.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3604, allocations: 4.969 kB / 0.5367 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3604, allocations: 1.469 kB / 0.5367 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3604, allocations: 3.938 kB / 0.5367 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.3605, allocations: 26.52 kB / 0.5368 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3605, allocations: 0 / 0.5368 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.3606, allocations: 11.03 kB / 0.5368 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.3606, allocations: 7.156 kB / 0.5368 GB, free: 8.355 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 (13): * Single equations (assignments): 13 * 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.0001305/0.3607, allocations: 133.8 kB / 0.5369 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3607, allocations: 14.62 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.3608, allocations: 20.06 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.3608, allocations: 5.312 kB / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3608, allocations: 3.984 kB / 0.537 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3608, allocations: 1.188 kB / 0.537 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.3614, allocations: 453.8 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3615, allocations: 4.078 kB / 0.5374 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.3615, allocations: 16.03 kB / 0.5374 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3615, allocations: 2.094 kB / 0.5374 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3615, allocations: 6.125 kB / 0.5374 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3615, allocations: 1.094 kB / 0.5374 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3615, allocations: 1.094 kB / 0.5374 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.3619, allocations: 245.9 kB / 0.5377 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.3619, allocations: 88.95 kB / 0.5377 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.362, allocations: 2.875 kB / 0.5377 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.362, allocations: 9.547 kB / 0.5378 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.3621, allocations: 5.219 kB / 0.5378 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3621, allocations: 4.438 kB / 0.5378 GB, free: 7.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.3623, allocations: 172.6 kB / 0.5379 GB, free: 7.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3623, allocations: 0 / 0.5379 GB, free: 7.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3626, allocations: 28.41 kB / 0.538 GB, free: 7.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002445/0.365, allocations: 1.174 MB / 0.5391 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.3653, allocations: 82.16 kB / 0.5392 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3653, allocations: 0 / 0.5392 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.763e-05/0.3654, allocations: 40.48 kB / 0.5392 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3658, allocations: 32.41 kB / 0.5392 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.368, allocations: 1.816 MB / 0.541 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.3684, allocations: 0.7152 MB / 0.5417 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.3e-05/0.3685, allocations: 24.5 kB / 0.5417 GB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/0.3686, allocations: 40.17 kB / 0.5418 GB, free: 4.055 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3686, allocations: 1.156 kB / 0.5418 GB, free: 4.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.3964, allocations: 3.891 MB / 0.5456 GB, free: 1.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.536, allocations: 6.109 kB / 0.5456 GB, free: 1.969 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time