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.001071/0.001071, 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.001212/0.001212, allocations: 197.2 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.39/1.39, 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.2147/0.2147, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 79.88 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4107, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003504/0.4143, allocations: 1.59 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.4164, allocations: 1.157 MB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.4165, allocations: 4 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.4169, allocations: 24.59 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.4173, allocations: 85.33 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.4177, allocations: 87.36 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.4179, allocations: 67.48 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.418, allocations: 10.08 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.4181, allocations: 30.45 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.4183, allocations: 34.91 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.4183, allocations: 3.75 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.4185, allocations: 106.3 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.4186, allocations: 12.06 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.4186, allocations: 23.98 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.419, allocations: 140.7 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.419, allocations: 3.984 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.419, allocations: 1.375 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.419, allocations: 0 / 0.5338 GB, free: 10.86 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.0005668/0.4196, allocations: 399.9 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4196, allocations: 9.625 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.4197, allocations: 36.12 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.4197, allocations: 11.59 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.42, allocations: 191.9 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.42, allocations: 384 / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.42, allocations: 3.125 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.4202, allocations: 71.64 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4202, allocations: 4 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4202, allocations: 5.359 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4202, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.4203, allocations: 25.67 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.4207, allocations: 274.8 kB / 0.5348 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.421, allocations: 47 kB / 0.5349 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.421, allocations: 19.81 kB / 0.5349 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4211, allocations: 5.359 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.4211, allocations: 31.94 kB / 0.5349 GB, free: 9.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.4211, allocations: 0 / 0.5349 GB, free: 9.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006195/0.4217, allocations: 140.4 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.4218, allocations: 82.48 kB / 0.5351 GB, free: 9.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.422, allocations: 149.2 kB / 0.5353 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.422, allocations: 27.08 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.4221, allocations: 90.89 kB / 0.5354 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.4221, allocations: 18.41 kB / 0.5354 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.4222, allocations: 21.83 kB / 0.5354 GB, free: 9.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4223, allocations: 321.5 kB / 0.5357 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.4224, allocations: 21.61 kB / 0.5357 GB, free: 8.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.4225, allocations: 35.44 kB / 0.5358 GB, free: 8.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.4226, allocations: 44.16 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.4226, allocations: 0 / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001957/0.4228, allocations: 83.81 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4228, allocations: 7.375 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4229, allocations: 5.375 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4229, allocations: 256 / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.423, allocations: 13.3 kB / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.423, allocations: 5.188 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.423, allocations: 7.781 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.423, allocations: 1.594 kB / 0.5359 GB, free: 8.766 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.128e-05/0.4231, allocations: 112.9 kB / 0.536 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.4232, allocations: 11.28 kB / 0.5361 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.4234, allocations: 101.4 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.4234, allocations: 1.094 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4234, allocations: 0 / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4235, allocations: 3.938 kB / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.4239, allocations: 346.8 kB / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4239, allocations: 0 / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.424, allocations: 18.45 kB / 0.5365 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.424, allocations: 4 kB / 0.5365 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.424, allocations: 5.031 kB / 0.5365 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.424, allocations: 1.156 kB / 0.5365 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.424, allocations: 0 / 0.5365 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.4242, allocations: 176 kB / 0.5367 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.4243, allocations: 78.39 kB / 0.5368 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.4243, allocations: 5.031 kB / 0.5368 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.4244, allocations: 15.45 kB / 0.5368 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.4244, allocations: 6.094 kB / 0.5368 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.4245, allocations: 1.25 kB / 0.5368 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.4246, allocations: 118.2 kB / 0.5369 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4246, allocations: 0 / 0.5369 GB, free: 7.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000295/0.4249, allocations: 31.81 kB / 0.5369 GB, free: 7.816 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.001569/0.4264, allocations: 1.098 MB / 0.538 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.4267, allocations: 52.5 kB / 0.538 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4267, allocations: 0 / 0.538 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.4268, allocations: 23.2 kB / 0.5381 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.4272, allocations: 28.89 kB / 0.5381 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.4288, allocations: 1.423 MB / 0.5395 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.4291, allocations: 0.6921 MB / 0.5402 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.4e-05/0.4292, allocations: 24.02 kB / 0.5402 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.4293, allocations: 29.98 kB / 0.5402 GB, free: 4.859 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4293, allocations: 0 / 0.5402 GB, free: 4.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.4528, allocations: 3.227 MB / 0.5434 GB, free: 2.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.5, allocations: 6.078 kB / 0.5434 GB, free: 2.988 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