Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 203.8 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.386/1.386, 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.2189/0.2189, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4283, allocations: 62.43 MB / 0.5306 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00308/0.4315, allocations: 1.734 MB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.4338, allocations: 1.628 MB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.4339, allocations: 1 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.4342, allocations: 36.83 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.4346, allocations: 111.9 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.435, allocations: 71.94 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.4353, allocations: 105.7 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.4354, allocations: 11.11 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.4355, allocations: 41.55 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.4357, allocations: 46.14 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.4357, allocations: 5.531 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.436, allocations: 114.6 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.436, allocations: 20.67 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.4361, allocations: 40.03 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.4365, allocations: 168.8 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4365, allocations: 1.062 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4365, allocations: 0 / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4365, allocations: 0 / 0.5346 GB, free: 10.33 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.0006275/0.4371, allocations: 426.7 kB / 0.535 GB, free: 9.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4372, allocations: 9.188 kB / 0.535 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.4372, allocations: 40.09 kB / 0.5351 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.4373, allocations: 9.812 kB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.4376, allocations: 219.8 kB / 0.5353 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4377, allocations: 5.328 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4377, allocations: 2.5 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.4379, allocations: 65.67 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4379, allocations: 1.094 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.4379, allocations: 4 kB / 0.5354 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4379, allocations: 5.312 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.438, allocations: 18.23 kB / 0.5354 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.4384, allocations: 293.5 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.4386, allocations: 53.94 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.4386, allocations: 21.09 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.4387, allocations: 5.375 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.4388, allocations: 65.14 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.4388, allocations: 1.375 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000579/0.4394, allocations: 168.8 kB / 0.536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.4395, allocations: 86.36 kB / 0.536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.4397, allocations: 169 kB / 0.5362 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4397, allocations: 31.08 kB / 0.5362 GB, free: 8.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.4398, allocations: 104.2 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.4398, allocations: 18.47 kB / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.4399, allocations: 25.95 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.44, allocations: 321.6 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.4401, allocations: 19.19 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.4402, allocations: 40.47 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.4403, allocations: 63.7 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4403, allocations: 7.938 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002057/0.4405, allocations: 94.89 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4406, allocations: 5.594 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4406, allocations: 5.016 kB / 0.5369 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4406, allocations: 5 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.4407, allocations: 21.03 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4407, allocations: 5.031 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.4408, allocations: 6.188 kB / 0.537 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.4408, allocations: 3.375 kB / 0.537 GB, free: 8.074 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.0001118/0.4409, allocations: 120.1 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.4409, allocations: 12.75 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.441, allocations: 12.25 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.441, allocations: 6.156 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.441, allocations: 3.984 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.441, allocations: 0 / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.4415, allocations: 400.8 kB / 0.5375 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.4415, allocations: 3.938 kB / 0.5375 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.4415, allocations: 12.31 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4416, allocations: 1.031 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4416, allocations: 1.094 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4416, allocations: 1.656 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4416, allocations: 0 / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.4418, allocations: 204.9 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.4419, allocations: 95.11 kB / 0.5378 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.4419, allocations: 2.25 kB / 0.5378 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.442, allocations: 2.219 kB / 0.5378 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.4421, allocations: 11.42 kB / 0.5378 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.4421, allocations: 3.594 kB / 0.5378 GB, free: 7.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.4422, allocations: 127 kB / 0.5379 GB, free: 7.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4422, allocations: 4 kB / 0.5379 GB, free: 7.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.4425, allocations: 46.52 kB / 0.538 GB, free: 7.121 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.001783/0.4443, allocations: 1.196 MB / 0.5391 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.4445, allocations: 57.97 kB / 0.5392 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4446, allocations: 1.094 kB / 0.5392 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.4446, allocations: 29.89 kB / 0.5392 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.445, allocations: 30.97 kB / 0.5393 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.4468, allocations: 1.594 MB / 0.5408 GB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.4471, allocations: 0.6959 MB / 0.5415 GB, free: 4.035 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.4472, allocations: 23.36 kB / 0.5415 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.4473, allocations: 42.12 kB / 0.5416 GB, free: 3.988 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4473, allocations: 0 / 0.5416 GB, free: 3.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.4738, allocations: 4.052 MB / 0.5455 GB, free: 1.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/8.034, allocations: 16.8 kB / 0.5455 GB, free: 1.723 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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