Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 202 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.491/1.491, 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.2549/0.2549, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 79.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4001, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003288/0.4035, allocations: 1.602 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.4052, allocations: 1.159 MB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.4053, allocations: 1.281 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.4056, allocations: 20.98 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.4059, allocations: 85.14 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.4062, allocations: 91.08 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.4064, allocations: 62.67 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.4065, allocations: 14.5 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.4065, allocations: 33.5 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.4067, allocations: 30.88 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.4067, allocations: 3.469 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.4069, allocations: 99.47 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.407, allocations: 19.03 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.407, allocations: 25.75 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.4073, allocations: 135.4 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.4073, allocations: 1.594 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4073, allocations: 0 / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.4073, 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.0005244/0.4079, allocations: 403.4 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4079, allocations: 9.719 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.408, allocations: 36.22 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.408, allocations: 12.64 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.4082, allocations: 197.1 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.4083, allocations: 384 / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.4083, allocations: 3.406 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.4085, allocations: 70.67 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4085, allocations: 1.406 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.4085, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4085, allocations: 1.688 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.4086, allocations: 27.84 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.409, allocations: 280.1 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.4092, allocations: 43.06 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.4092, allocations: 15.81 kB / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.4093, allocations: 0 / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.4093, allocations: 35.94 kB / 0.5349 GB, free: 9.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4093, allocations: 0 / 0.5349 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005663/0.4099, allocations: 141.8 kB / 0.535 GB, free: 9.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.4099, allocations: 78.48 kB / 0.5351 GB, free: 9.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.4101, allocations: 147.5 kB / 0.5353 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.4101, allocations: 27.08 kB / 0.5353 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.4102, allocations: 94.83 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.4102, allocations: 26.39 kB / 0.5354 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.543e-05/0.4103, allocations: 13.84 kB / 0.5354 GB, free: 9.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4104, allocations: 324.1 kB / 0.5357 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.4105, allocations: 22.98 kB / 0.5357 GB, free: 8.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.4105, allocations: 34.14 kB / 0.5358 GB, free: 8.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4107, allocations: 48.2 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4107, allocations: 1.375 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.4109, allocations: 75.86 kB / 0.5359 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4109, allocations: 9.5 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4109, allocations: 0 / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4109, allocations: 1.375 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.411, allocations: 17.55 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.411, allocations: 0 / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.4111, allocations: 8.062 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.4111, allocations: 1.375 kB / 0.5359 GB, free: 8.781 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 9.963e-05/0.4112, allocations: 118 kB / 0.536 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.4113, allocations: 10.66 kB / 0.5361 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.4115, allocations: 89.59 kB / 0.5361 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4115, allocations: 0 / 0.5361 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.4115, allocations: 1.375 kB / 0.5361 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4116, allocations: 3.938 kB / 0.5361 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.412, allocations: 354.5 kB / 0.5365 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.412, allocations: 0 / 0.5365 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.4121, allocations: 21.81 kB / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4121, allocations: 1.375 kB / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4121, allocations: 7.938 kB / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4122, allocations: 1.375 kB / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4122, allocations: 3.984 kB / 0.5365 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.4124, allocations: 175.2 kB / 0.5367 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.4125, allocations: 87.67 kB / 0.5368 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.4125, allocations: 8.984 kB / 0.5368 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.4126, allocations: 2.719 kB / 0.5368 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.4126, allocations: 2.188 kB / 0.5368 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4126, allocations: 2.219 kB / 0.5368 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.4128, allocations: 117.7 kB / 0.5369 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4128, allocations: 0 / 0.5369 GB, free: 7.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.4131, allocations: 35.83 kB / 0.5369 GB, free: 7.824 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.001767/0.4149, allocations: 1.097 MB / 0.538 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.4151, allocations: 47.19 kB / 0.538 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4151, allocations: 5.031 kB / 0.538 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.4152, allocations: 27.67 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.0004077/0.4157, allocations: 29.77 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.001835/0.4175, allocations: 1.418 MB / 0.5395 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.4178, allocations: 0.6935 MB / 0.5402 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.435e-05/0.4179, allocations: 22.59 kB / 0.5402 GB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.418, allocations: 30.53 kB / 0.5402 GB, free: 4.863 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.418, allocations: 0 / 0.5402 GB, free: 4.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.4421, allocations: 3.233 MB / 0.5434 GB, free: 3.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.225, allocations: 7.469 kB / 0.5434 GB, free: 3 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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