Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 202 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.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 79.86 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4278, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.004327/0.4322, allocations: 1.74 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.4343, allocations: 1.018 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.4345, allocations: 7.938 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.4349, allocations: 38.52 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.4354, allocations: 98.25 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.4358, allocations: 71.19 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.436, allocations: 109.9 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.4362, allocations: 7.625 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.4363, allocations: 43.28 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.4364, allocations: 38.19 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.4364, allocations: 4.25 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.4366, allocations: 43.36 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.4367, allocations: 26.39 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.4368, allocations: 36.27 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.4371, allocations: 110.7 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.4371, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4371, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.4371, allocations: 1.562 kB / 0.5339 GB, free: 10.87 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.0007241/0.4378, allocations: 406.6 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4379, allocations: 17.61 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.4379, allocations: 36.06 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.438, allocations: 14.25 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.4384, allocations: 215.1 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4384, allocations: 1.75 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.4384, allocations: 6.688 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.4386, allocations: 58.03 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4386, allocations: 0 / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.4387, allocations: 1.375 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4387, allocations: 4 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.943e-05/0.4388, allocations: 18.98 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.4392, allocations: 293.4 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.4394, allocations: 53.92 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.4395, allocations: 22.48 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.4395, allocations: 0 / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.4398, allocations: 73.06 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4398, allocations: 1.375 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000639/0.4404, allocations: 173.1 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.4405, allocations: 56.72 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.4407, allocations: 190 kB / 0.5355 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4408, allocations: 35.08 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.345e-05/0.4409, allocations: 100.2 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.4409, allocations: 23.78 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.441, allocations: 24.58 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4411, allocations: 325.6 kB / 0.5359 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.236e-05/0.4412, allocations: 23.05 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.4413, allocations: 31.47 kB / 0.536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.4414, allocations: 67.77 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4414, allocations: 0 / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002152/0.4416, allocations: 99.53 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4416, allocations: 4.312 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4417, allocations: 1.188 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4417, allocations: 1.312 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.4418, allocations: 20.47 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4418, allocations: 1.375 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.4419, allocations: 14.39 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4419, allocations: 2.312 kB / 0.5362 GB, free: 8.664 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.0001189/0.442, allocations: 122.6 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.442, allocations: 12.5 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.4421, allocations: 23.2 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4421, allocations: 0 / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4421, allocations: 1.125 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4421, allocations: 3.938 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.4426, allocations: 394.2 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4427, allocations: 0 / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.4427, allocations: 11.7 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4427, allocations: 8.812 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.4427, allocations: 2.156 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.4427, allocations: 1.125 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4428, allocations: 3.938 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.443, allocations: 204.7 kB / 0.5369 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.4431, allocations: 88.23 kB / 0.537 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.4431, allocations: 9.109 kB / 0.537 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.4432, allocations: 2.156 kB / 0.537 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.4433, allocations: 7.312 kB / 0.537 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.4433, allocations: 7.422 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.4434, allocations: 136.3 kB / 0.5372 GB, free: 7.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4434, allocations: 4 kB / 0.5372 GB, free: 7.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.4437, allocations: 29.08 kB / 0.5372 GB, free: 7.703 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.001749/0.4455, allocations: 1.087 MB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.4457, allocations: 66.58 kB / 0.5383 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4457, allocations: 0 / 0.5383 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.4458, allocations: 21.12 kB / 0.5384 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.4462, allocations: 38.89 kB / 0.5384 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.4488, allocations: 1.642 MB / 0.54 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.4492, allocations: 0.7094 MB / 0.5407 GB, free: 4.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.393e-05/0.4493, allocations: 17.75 kB / 0.5407 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.4494, allocations: 31.23 kB / 0.5407 GB, free: 4.605 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4494, allocations: 1.125 kB / 0.5407 GB, free: 4.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.4765, allocations: 3.418 MB / 0.5441 GB, free: 2.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/8.053, allocations: 12.95 kB / 0.5441 GB, free: 2.746 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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