Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001779/0.001779, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002029/0.002029, allocations: 203.8 kB / 18.74 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.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 76.09 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3913, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003138/0.3944, allocations: 1.607 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3962, allocations: 1.158 MB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.3963, allocations: 0 / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.3965, allocations: 25.66 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.3969, allocations: 83.92 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.3971, allocations: 87.05 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.3973, allocations: 69.89 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3974, allocations: 10.88 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.3975, allocations: 29.53 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.3976, allocations: 26.86 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.3977, allocations: 4.125 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.3978, allocations: 106.7 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.3979, allocations: 20.03 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.398, allocations: 20 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3982, allocations: 140.7 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.3982, allocations: 0 / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3982, allocations: 5.375 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3982, allocations: 0 / 0.5338 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005141/0.3988, allocations: 399.9 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3988, allocations: 9.625 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.3988, allocations: 32.12 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.3989, allocations: 11.59 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.3991, allocations: 189.8 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3991, allocations: 384 / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.3992, allocations: 7.109 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3993, allocations: 71.66 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3994, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3994, allocations: 5.312 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3994, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.3995, allocations: 29.7 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.3998, allocations: 271.6 kB / 0.5348 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.4001, allocations: 50.91 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.4001, allocations: 14.78 kB / 0.5349 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.4002, allocations: 1.188 kB / 0.5349 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.4002, allocations: 31.59 kB / 0.5349 GB, free: 9.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4002, allocations: 0 / 0.5349 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005673/0.4008, allocations: 145.6 kB / 0.535 GB, free: 9.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.4009, allocations: 82.36 kB / 0.5351 GB, free: 9.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.401, allocations: 148.7 kB / 0.5353 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.401, allocations: 25.7 kB / 0.5353 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.4011, allocations: 91.33 kB / 0.5354 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.4012, allocations: 22.11 kB / 0.5354 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.4012, allocations: 17.66 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4013, allocations: 329.5 kB / 0.5357 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.4014, allocations: 18.45 kB / 0.5357 GB, free: 8.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.4015, allocations: 29.95 kB / 0.5358 GB, free: 8.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.4016, allocations: 48.2 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4016, allocations: 0 / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001964/0.4018, allocations: 88.89 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4019, allocations: 5.656 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.4019, allocations: 0 / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4019, allocations: 1.125 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.402, allocations: 13.05 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.402, allocations: 1.219 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.402, allocations: 7.219 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4021, allocations: 1.188 kB / 0.5359 GB, free: 8.777 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 0.0001012/0.4022, allocations: 122.4 kB / 0.536 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.4022, allocations: 11.28 kB / 0.5361 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.4025, allocations: 88.34 kB / 0.5361 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4025, allocations: 1.094 kB / 0.5361 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4025, allocations: 1.094 kB / 0.5361 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4025, allocations: 3.938 kB / 0.5361 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.403, allocations: 357.8 kB / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.403, allocations: 1.375 kB / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.403, allocations: 13.77 kB / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4031, allocations: 0 / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4031, allocations: 5.438 kB / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.4031, allocations: 0 / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4031, allocations: 0 / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.4033, allocations: 179.8 kB / 0.5367 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.4034, allocations: 79.73 kB / 0.5368 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.4034, allocations: 9.438 kB / 0.5368 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.4035, allocations: 10.73 kB / 0.5368 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.4035, allocations: 6.25 kB / 0.5368 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-06/0.4036, allocations: 1.188 kB / 0.5368 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.4037, allocations: 121.2 kB / 0.5369 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4037, allocations: 0 / 0.5369 GB, free: 7.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.404, allocations: 35.17 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.001897/0.4059, allocations: 1.094 MB / 0.538 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.4062, allocations: 51.19 kB / 0.538 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4062, allocations: 1.469 kB / 0.538 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.4063, allocations: 27.42 kB / 0.5381 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.4067, allocations: 24.8 kB / 0.5381 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.409, allocations: 1.426 MB / 0.5395 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.4094, allocations: 0.6936 MB / 0.5402 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.277e-05/0.4095, allocations: 14.88 kB / 0.5402 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.4096, allocations: 25.83 kB / 0.5402 GB, free: 4.871 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4096, allocations: 1.188 kB / 0.5402 GB, free: 4.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.438, allocations: 3.233 MB / 0.5434 GB, free: 3.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.646, allocations: 9.016 kB / 0.5434 GB, free: 3.004 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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