Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 83.86 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3886, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003357/0.392, allocations: 1.606 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3932, allocations: 0.5448 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.3933, allocations: 1.375 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.3936, allocations: 134.9 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.3941, allocations: 118.3 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.3945, allocations: 118.2 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3947, allocations: 100.7 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3948, allocations: 18 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.3949, allocations: 47.12 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.395, allocations: 81.66 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3951, allocations: 3.625 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3952, allocations: 48.61 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.3953, allocations: 26.83 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.3953, allocations: 38.55 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3956, allocations: 127.2 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3956, allocations: 4 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3956, allocations: 0 / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3956, allocations: 0 / 0.5335 GB, free: 11.25 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.0005166/0.3961, allocations: 438.4 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3961, allocations: 8.25 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.3962, allocations: 40.11 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.3962, allocations: 15.62 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3964, allocations: 209.5 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.3965, allocations: 1.75 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3965, allocations: 15.11 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3967, allocations: 59.3 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3967, allocations: 0 / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3967, allocations: 1.375 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3967, allocations: 0 / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3968, allocations: 28.48 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.3973, allocations: 312.5 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.3974, allocations: 47 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.3975, allocations: 25.12 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3975, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3976, allocations: 31.94 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.3976, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000953/0.3985, allocations: 256.4 kB / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.3986, allocations: 51.41 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.3989, allocations: 279.9 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3989, allocations: 29.7 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.399, allocations: 116.4 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.399, allocations: 30.11 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.3991, allocations: 20.97 kB / 0.5354 GB, free: 9.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3992, allocations: 334.7 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.734e-05/0.3993, allocations: 28.17 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.3994, allocations: 33.38 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3996, allocations: 74.17 kB / 0.5359 GB, free: 9.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3996, allocations: 0 / 0.5359 GB, free: 9.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000239/0.3999, allocations: 114.6 kB / 0.536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3999, allocations: 4.469 kB / 0.536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3999, allocations: 1.062 kB / 0.536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3999, allocations: 3.984 kB / 0.536 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4, allocations: 17.66 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4, allocations: 5.031 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.4001, allocations: 11.48 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.4001, allocations: 6.219 kB / 0.536 GB, free: 8.961 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 (8): * Single equations (assignments): 8 * 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.0001187/0.4002, allocations: 134 kB / 0.5361 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.4003, allocations: 13.94 kB / 0.5361 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.4006, allocations: 129.1 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4006, allocations: 1.094 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.4007, allocations: 3.938 kB / 0.5363 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4007, allocations: 4.906 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/0.4013, allocations: 437.4 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4013, allocations: 0 / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.4014, allocations: 25.53 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4014, allocations: 2.094 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.4014, allocations: 1.031 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4014, allocations: 1 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.4014, allocations: 1.062 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.4017, allocations: 221.9 kB / 0.5369 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.4018, allocations: 101 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.4018, allocations: 1.312 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.4019, allocations: 2.469 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.4019, allocations: 15.42 kB / 0.5371 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.402, allocations: 6.25 kB / 0.5371 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.4022, allocations: 206 kB / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4022, allocations: 0 / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.4024, allocations: 27.2 kB / 0.5373 GB, free: 7.871 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001506/0.4039, allocations: 1.096 MB / 0.5384 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.4042, allocations: 78.97 kB / 0.5384 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4042, allocations: 0 / 0.5384 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.4043, allocations: 44.53 kB / 0.5385 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.4047, allocations: 26.66 kB / 0.5385 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.4069, allocations: 1.836 MB / 0.5403 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.4072, allocations: 0.7254 MB / 0.541 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.693e-05/0.4073, allocations: 21.2 kB / 0.541 GB, free: 4.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.4074, allocations: 49.83 kB / 0.5411 GB, free: 4.656 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4074, allocations: 0 / 0.5411 GB, free: 4.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.4268, allocations: 3.456 MB / 0.5444 GB, free: 2.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.395, allocations: 6.578 kB / 0.5444 GB, free: 2.793 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time