Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 121.7 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.001842/0.001842, allocations: 199.8 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.415/1.415, 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.2226/0.2226, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 83.81 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3598, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003466/0.3633, allocations: 1.613 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3644, allocations: 0.5476 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3645, allocations: 5.25 kB / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.3649, allocations: 80.33 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.3653, allocations: 104.3 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.3657, allocations: 112.6 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.366, allocations: 80.89 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3661, allocations: 24.22 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.3662, allocations: 36.41 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3663, allocations: 52.7 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3664, allocations: 2.75 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3665, allocations: 44.86 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.3666, allocations: 24.16 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.3666, allocations: 37.17 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.3669, allocations: 108.4 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3669, allocations: 1.375 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3669, allocations: 0 / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3669, allocations: 4 kB / 0.5333 GB, free: 11.34 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.0007318/0.3677, allocations: 412.7 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3677, allocations: 8.875 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.3678, allocations: 31.88 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3678, allocations: 9.719 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.368, allocations: 205.1 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.368, allocations: 5.562 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3681, allocations: 7.156 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3682, allocations: 62.75 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3683, allocations: 0 / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3683, allocations: 7.938 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3683, allocations: 1.188 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3684, allocations: 32.02 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.3688, allocations: 295.9 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3689, allocations: 52.08 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.369, allocations: 17.48 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.369, allocations: 1.344 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.3691, allocations: 30.66 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3691, allocations: 0 / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001022/0.3701, allocations: 254.8 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.3702, allocations: 56.53 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.3705, allocations: 210 kB / 0.535 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3705, allocations: 27.2 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3707, allocations: 105.5 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.3707, allocations: 31.14 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.3708, allocations: 23.22 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.371, allocations: 322.9 kB / 0.5354 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3711, allocations: 32.27 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.593e-05/0.3712, allocations: 33.62 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.3714, allocations: 77.44 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3714, allocations: 0 / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002957/0.3717, allocations: 113.6 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.3717, allocations: 5.5 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3718, allocations: 0 / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3718, allocations: 0 / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3719, allocations: 17.73 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3719, allocations: 5.312 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.372, allocations: 6.75 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.372, allocations: 2.75 kB / 0.5357 GB, free: 9.137 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.0001302/0.3722, allocations: 128.8 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.3722, allocations: 13.31 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.3726, allocations: 141.8 kB / 0.536 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3726, allocations: 1 kB / 0.536 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.3726, allocations: 4.875 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3726, allocations: 0 / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.3733, allocations: 419.5 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3733, allocations: 1.031 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.3734, allocations: 21.86 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3734, allocations: 0.9375 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3734, allocations: 5.125 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3734, allocations: 1.031 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3734, allocations: 1.062 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.3738, allocations: 219.9 kB / 0.5366 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.3739, allocations: 88.52 kB / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.3739, allocations: 1.062 kB / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.374, allocations: 11.52 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.3741, allocations: 4.484 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.3741, allocations: 6.469 kB / 0.5367 GB, free: 8.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.3743, allocations: 166.4 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3743, allocations: 1.25 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.3747, allocations: 26.05 kB / 0.5369 GB, free: 8.066 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.00172/0.3764, allocations: 1.094 MB / 0.538 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.3767, allocations: 76.38 kB / 0.5381 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3767, allocations: 4 kB / 0.5381 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3768, allocations: 43.22 kB / 0.5381 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.3772, allocations: 26.98 kB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.3794, allocations: 1.7 MB / 0.5398 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.3798, allocations: 0.7167 MB / 0.5405 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.474e-05/0.3799, allocations: 24.56 kB / 0.5405 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.38, allocations: 37.92 kB / 0.5406 GB, free: 4.93 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.38, allocations: 3.938 kB / 0.5406 GB, free: 4.926 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.4031, allocations: 3.163 MB / 0.5437 GB, free: 3.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.06, allocations: 8.328 kB / 0.5437 GB, free: 3.203 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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[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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time