Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, 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.2362/0.2362, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3498, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002678/0.3525, allocations: 1.695 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3542, allocations: 0.9979 MB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.3543, allocations: 5.156 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.3546, allocations: 60.36 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.355, allocations: 104.8 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.3552, allocations: 77.94 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.3554, allocations: 107.8 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.3554, allocations: 4.703 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3556, allocations: 50.7 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3557, allocations: 44.97 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.3557, allocations: 3.5 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.522e-05/0.3558, allocations: 36.59 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.3559, allocations: 18.64 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.3559, allocations: 31.5 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.3561, allocations: 111.1 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3561, allocations: 0 / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3562, allocations: 0 / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3562, allocations: 1.094 kB / 0.5338 GB, free: 10.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000592/0.3568, allocations: 414.5 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3568, allocations: 10.12 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.3569, allocations: 36.72 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3569, allocations: 8.625 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3572, allocations: 212.3 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3572, allocations: 6.203 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3572, allocations: 9.781 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3573, allocations: 50.48 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3574, allocations: 4 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.3574, allocations: 0 / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3574, allocations: 1.719 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.3574, allocations: 15.89 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.3576, allocations: 183.8 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.3578, allocations: 49.72 kB / 0.5348 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.3579, allocations: 25.88 kB / 0.5348 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3579, allocations: 1.406 kB / 0.5348 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.358, allocations: 67.61 kB / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.358, allocations: 0 / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000255/0.3583, allocations: 91.89 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3583, allocations: 52.78 kB / 0.535 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3585, allocations: 196.1 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3585, allocations: 29.7 kB / 0.5352 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.3586, allocations: 105.6 kB / 0.5353 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.3586, allocations: 26.48 kB / 0.5354 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.3587, allocations: 17.84 kB / 0.5354 GB, free: 9.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3588, allocations: 323 kB / 0.5357 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.745e-05/0.3588, allocations: 10.88 kB / 0.5357 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-05/0.3589, allocations: 28.7 kB / 0.5357 GB, free: 8.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.269e-05/0.359, allocations: 46.45 kB / 0.5358 GB, free: 8.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.359, allocations: 9.312 kB / 0.5358 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001517/0.3592, allocations: 78.41 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3592, allocations: 5.5 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3592, allocations: 1.375 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3592, allocations: 5.312 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.3593, allocations: 12.23 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3593, allocations: 5.406 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.3594, allocations: 5.375 kB / 0.5359 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3594, allocations: 2.75 kB / 0.5359 GB, free: 8.875 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 (7): * Single equations (assignments): 7 * 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.0001017/0.3595, allocations: 131.8 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.3595, allocations: 13.31 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.3596, allocations: 13.12 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3596, allocations: 1.375 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3596, allocations: 0 / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3596, allocations: 1.375 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3597, allocations: 196.6 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3597, allocations: 0 / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.3598, allocations: 4.125 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3598, allocations: 0 / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3598, allocations: 1.375 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3598, allocations: 0 / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3598, allocations: 1.375 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.36, allocations: 110 kB / 0.5363 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.36, allocations: 98.22 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3601, allocations: 1.375 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.3601, allocations: 6.734 kB / 0.5364 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.3602, allocations: 1.375 kB / 0.5364 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3602, allocations: 6.875 kB / 0.5365 GB, free: 8.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3603, allocations: 143.5 kB / 0.5366 GB, free: 8.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3603, allocations: 0 / 0.5366 GB, free: 8.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.3605, allocations: 26.14 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001206/0.3617, allocations: 0.9513 MB / 0.5375 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3619, allocations: 42.95 kB / 0.5376 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3619, allocations: 0 / 0.5376 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.675e-05/0.362, allocations: 16.34 kB / 0.5376 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.3622, allocations: 28.59 kB / 0.5376 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.3638, allocations: 1.496 MB / 0.5391 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.364, allocations: 0.7001 MB / 0.5398 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.904e-05/0.3641, allocations: 16.16 kB / 0.5398 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.3641, allocations: 34.39 kB / 0.5398 GB, free: 5.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3641, allocations: 7.938 kB / 0.5398 GB, free: 5.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.3827, allocations: 3.175 MB / 0.5429 GB, free: 3.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.838, allocations: 9.109 kB / 0.5429 GB, free: 3.566 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result: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