Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001578, allocations: 117.7 kB / 17.78 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.001656/0.001656, allocations: 203.8 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3523, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.00279/0.3551, allocations: 1.597 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3568, allocations: 1.16 MB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.3568, allocations: 0 / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3571, allocations: 16.45 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.3574, allocations: 86.23 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.3576, allocations: 98.5 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3578, allocations: 65.95 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.3579, allocations: 10.88 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.3579, allocations: 33.47 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.3581, allocations: 26.86 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3581, allocations: 4.125 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.3583, allocations: 106.7 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.3583, allocations: 16.05 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.3584, allocations: 23.98 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.3586, allocations: 136.8 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3587, allocations: 0 / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3587, allocations: 5.375 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.3587, allocations: 0 / 0.5338 GB, free: 10.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005652/0.3592, allocations: 399.9 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3593, allocations: 9.625 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.3593, allocations: 32.12 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.3594, allocations: 11.59 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.3596, allocations: 197.8 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3596, allocations: 1.75 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.3597, allocations: 1.75 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3598, allocations: 71.7 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3599, allocations: 3.984 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3599, allocations: 5.312 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3599, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.36, allocations: 25.67 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.3603, allocations: 274.4 kB / 0.5348 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.3606, allocations: 48.16 kB / 0.5349 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.3606, allocations: 19.22 kB / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3607, allocations: 1.156 kB / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3607, allocations: 31.69 kB / 0.5349 GB, free: 9.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3607, allocations: 0 / 0.5349 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005875/0.3613, allocations: 144.5 kB / 0.535 GB, free: 9.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.3614, allocations: 78.45 kB / 0.5351 GB, free: 9.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.3615, allocations: 148.1 kB / 0.5353 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.3616, allocations: 27.17 kB / 0.5353 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.3616, allocations: 91.58 kB / 0.5354 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3616, allocations: 21.67 kB / 0.5354 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.3617, allocations: 21.5 kB / 0.5354 GB, free: 9.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3618, allocations: 325.4 kB / 0.5357 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.3619, allocations: 18.02 kB / 0.5357 GB, free: 8.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.362, allocations: 31.08 kB / 0.5358 GB, free: 8.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3621, allocations: 44.17 kB / 0.5358 GB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3621, allocations: 0 / 0.5358 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001987/0.3623, allocations: 92.89 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3623, allocations: 5.531 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3624, allocations: 0 / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3624, allocations: 1.125 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.3624, allocations: 13.14 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3625, allocations: 1.125 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.3625, allocations: 7.344 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3625, allocations: 1.094 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.728e-05/0.3626, allocations: 122.4 kB / 0.536 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.3627, allocations: 7.312 kB / 0.5361 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.3629, allocations: 92.44 kB / 0.5361 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3629, allocations: 1.062 kB / 0.5361 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.363, allocations: 0 / 0.5361 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.363, allocations: 4.969 kB / 0.5361 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.3634, allocations: 350 kB / 0.5365 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3634, allocations: 1.031 kB / 0.5365 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.3635, allocations: 24.67 kB / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3635, allocations: 0.9062 kB / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3635, allocations: 5.156 kB / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3635, allocations: 3.984 kB / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3635, allocations: 1.281 kB / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.3638, allocations: 179.7 kB / 0.5367 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.3638, allocations: 78.67 kB / 0.5368 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.3639, allocations: 5.062 kB / 0.5368 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.3639, allocations: 11.05 kB / 0.5368 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.364, allocations: 2.75 kB / 0.5368 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.364, allocations: 5.25 kB / 0.5368 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.3641, allocations: 118.6 kB / 0.5369 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3641, allocations: 0 / 0.5369 GB, free: 7.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.3644, allocations: 40.02 kB / 0.5369 GB, free: 7.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001735/0.3662, allocations: 1.087 MB / 0.538 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.3664, allocations: 47.19 kB / 0.538 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3664, allocations: 9.312 kB / 0.5381 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.366e-05/0.3665, allocations: 26.55 kB / 0.5381 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.367, allocations: 19.64 kB / 0.5381 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.369, allocations: 1.419 MB / 0.5395 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3694, allocations: 0.7007 MB / 0.5402 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.596e-05/0.3695, allocations: 18.88 kB / 0.5402 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.3696, allocations: 30.33 kB / 0.5402 GB, free: 4.867 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3696, allocations: 0 / 0.5402 GB, free: 4.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.3932, allocations: 3.223 MB / 0.5434 GB, free: 3.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/8.017, allocations: 12.12 kB / 0.5434 GB, free: 3.008 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time