Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, 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.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 79.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4311, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003355/0.4345, allocations: 1.727 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.4363, allocations: 1.027 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.4364, allocations: 0 / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.4367, allocations: 43.33 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.437, allocations: 93.47 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.4372, allocations: 76.08 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.4374, allocations: 112.3 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.4375, allocations: 7.25 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.4376, allocations: 44.41 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.4377, allocations: 37.75 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.4378, allocations: 3.375 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4379, allocations: 44.86 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.4379, allocations: 22.3 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.438, allocations: 34.83 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.4382, allocations: 115.1 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4382, allocations: 1.938 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4382, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.4383, allocations: 0 / 0.5339 GB, free: 10.85 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.0006081/0.4389, allocations: 411.1 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4389, allocations: 9.969 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.439, allocations: 36.19 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.439, allocations: 12.69 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.4394, allocations: 216.8 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4394, allocations: 1.688 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.4394, allocations: 6.469 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.4396, allocations: 53.55 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4396, allocations: 3.938 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.4396, allocations: 5.234 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4396, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.4397, allocations: 18.92 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.4402, allocations: 298.4 kB / 0.5349 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.4404, allocations: 49.94 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.4405, allocations: 25.03 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4405, allocations: 1.375 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.4407, allocations: 73.14 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4407, allocations: 0 / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005933/0.4413, allocations: 178.1 kB / 0.5352 GB, free: 9.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.4414, allocations: 52.78 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.4416, allocations: 188.7 kB / 0.5355 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4416, allocations: 31.08 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.4417, allocations: 97.64 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.4417, allocations: 26.39 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.4418, allocations: 24.59 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4419, allocations: 327 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.696e-05/0.442, allocations: 18.98 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.4421, allocations: 35.45 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.4422, allocations: 62.39 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4422, allocations: 0 / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.4424, allocations: 104.1 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4424, allocations: 5.5 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4424, allocations: 0 / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4425, allocations: 5.359 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.74e-05/0.4426, allocations: 17.73 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4426, allocations: 0 / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.4426, allocations: 10.69 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.4426, allocations: 2.156 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.0001185/0.4428, allocations: 122.7 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.4428, allocations: 17.25 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.4429, allocations: 25.44 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4429, allocations: 1.094 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.4429, allocations: 1.094 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4429, allocations: 7.922 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.4434, allocations: 394.1 kB / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4434, allocations: 0 / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.4435, allocations: 8.25 kB / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.4435, allocations: 13.09 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4435, allocations: 1.469 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.4435, allocations: 5.734 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4435, allocations: 0 / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.4438, allocations: 195.9 kB / 0.537 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.444, allocations: 88.73 kB / 0.537 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.444, allocations: 9.094 kB / 0.537 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.4441, allocations: 6.781 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.4441, allocations: 10.45 kB / 0.5371 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4442, allocations: 8.125 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.4443, allocations: 138.8 kB / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4443, allocations: 1 kB / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.4446, allocations: 24.84 kB / 0.5372 GB, free: 7.684 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.001609/0.4462, allocations: 1.076 MB / 0.5383 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.4464, allocations: 65.59 kB / 0.5383 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4464, allocations: 0 / 0.5383 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.65e-05/0.4465, allocations: 29.61 kB / 0.5384 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.4469, allocations: 35.05 kB / 0.5384 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.449, allocations: 1.639 MB / 0.54 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4494, allocations: 0.7048 MB / 0.5407 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.365e-05/0.4495, allocations: 14.16 kB / 0.5407 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.4495, allocations: 31.2 kB / 0.5407 GB, free: 4.602 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4496, allocations: 0 / 0.5407 GB, free: 4.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.473, allocations: 3.425 MB / 0.5441 GB, free: 2.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/8.168, allocations: 13.23 kB / 0.5441 GB, free: 2.73 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time