Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 122.8 kB / 17.79 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.001952/0.001952, allocations: 201.2 kB / 18.73 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.451/1.451, 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.2161/0.2161, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 76.09 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.38, allocations: 62.45 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003411/0.3835, allocations: 1.662 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3854, allocations: 1.173 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.3855, allocations: 0 / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.3857, allocations: 25.25 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.386, allocations: 92.64 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.3864, allocations: 125.8 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.3865, allocations: 73.34 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3867, allocations: 19.17 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/0.3867, allocations: 34.11 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.3869, allocations: 36.22 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.3869, allocations: 4.125 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.3871, allocations: 101.5 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.3871, allocations: 19.98 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.3872, allocations: 30.72 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.3874, allocations: 147.5 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3875, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3875, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3875, allocations: 1.375 kB / 0.534 GB, free: 10.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006605/0.3881, allocations: 422.7 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3882, allocations: 9.625 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.3882, allocations: 36.06 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.3883, allocations: 8.969 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.3885, allocations: 201.7 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3885, allocations: 1.75 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3886, allocations: 1.75 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.3888, allocations: 81.19 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3888, allocations: 1.375 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.3889, allocations: 7.938 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3889, allocations: 1.375 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.389, allocations: 36.53 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.3894, allocations: 292.2 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3896, allocations: 47.06 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/0.3896, allocations: 23.94 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3897, allocations: 1.375 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3897, allocations: 35.88 kB / 0.5351 GB, free: 9.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3897, allocations: 0 / 0.5351 GB, free: 9.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009372/0.3906, allocations: 223.9 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.3907, allocations: 78.3 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3909, allocations: 151 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3909, allocations: 31.05 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.391, allocations: 104.3 kB / 0.5357 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.391, allocations: 25.95 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.3911, allocations: 20.19 kB / 0.5357 GB, free: 9.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3912, allocations: 324 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3913, allocations: 30.75 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3915, allocations: 51.75 kB / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.3917, allocations: 67.44 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3917, allocations: 1.156 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003172/0.3921, allocations: 122.4 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3921, allocations: 5.25 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3921, allocations: 4.031 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3921, allocations: 1.094 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.3923, allocations: 22.59 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3923, allocations: 1.094 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.3924, allocations: 9.656 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3924, allocations: 6.203 kB / 0.5364 GB, free: 8.535 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 (7): * Single equations (assignments): 7 * 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.0001094/0.3925, allocations: 114.4 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.3925, allocations: 12.53 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.3929, allocations: 124.1 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3929, allocations: 1.125 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.393, allocations: 0 / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.393, allocations: 5.156 kB / 0.5366 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.3936, allocations: 408.6 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3936, allocations: 0 / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.3937, allocations: 23.45 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3937, allocations: 0 / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3937, allocations: 5.312 kB / 0.537 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3937, allocations: 0 / 0.537 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3937, allocations: 5.141 kB / 0.537 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.3941, allocations: 213.8 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.3942, allocations: 87.27 kB / 0.5373 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.3942, allocations: 5.312 kB / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.3943, allocations: 10.7 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3944, allocations: 10.64 kB / 0.5373 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3944, allocations: 2.469 kB / 0.5373 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.3945, allocations: 129.9 kB / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3945, allocations: 1.281 kB / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.3948, allocations: 38.2 kB / 0.5375 GB, free: 7.508 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 (7): * Single equations (assignments): 7 * 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.001834/0.3967, allocations: 1.125 MB / 0.5386 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.397, allocations: 86.14 kB / 0.5387 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.397, allocations: 5.219 kB / 0.5387 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3972, allocations: 40.5 kB / 0.5387 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.3976, allocations: 16.48 kB / 0.5387 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.3999, allocations: 1.59 MB / 0.5403 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.4002, allocations: 0.6924 MB / 0.541 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.567e-05/0.4003, allocations: 22.11 kB / 0.541 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.4004, allocations: 31.42 kB / 0.541 GB, free: 4.438 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4004, allocations: 0 / 0.541 GB, free: 4.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.4249, allocations: 3.528 MB / 0.5445 GB, free: 2.434 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/7.988, allocations: 8.906 kB / 0.5445 GB, free: 2.43 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(clock1.y),der(clock2.y),der(d_t_new.u),t_new.extrapolation,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time