Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 118.8 kB / 17.78 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.00106/0.00106, allocations: 205.2 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.447/1.447, 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.2323/0.2323, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 75.88 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3793, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003053/0.3824, allocations: 1.645 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3835, allocations: 0.5619 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.3835, allocations: 1.531 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.3839, allocations: 93.33 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.3842, allocations: 114.8 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.3846, allocations: 122.9 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3848, allocations: 96.73 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3849, allocations: 31.23 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.385, allocations: 46.58 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3851, allocations: 63.81 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3852, allocations: 6.688 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.574e-05/0.3853, allocations: 47.61 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.3853, allocations: 30.86 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.3854, allocations: 47.91 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3856, allocations: 119.6 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3856, allocations: 5.375 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3856, allocations: 0 / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3856, allocations: 0 / 0.5335 GB, free: 11.22 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005623/0.3862, allocations: 442.4 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3863, allocations: 9.625 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.3863, allocations: 40.11 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.3864, allocations: 15.62 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.3866, allocations: 207.2 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3866, allocations: 9.75 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3866, allocations: 4.5 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3868, allocations: 75.59 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3868, allocations: 13.31 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3869, allocations: 1.375 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3869, allocations: 1.375 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.387, allocations: 39.34 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.3875, allocations: 344.7 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.3877, allocations: 63.16 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/0.3878, allocations: 32.69 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3878, allocations: 1.188 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3878, allocations: 35.89 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3878, allocations: 0 / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001155/0.389, allocations: 338.8 kB / 0.5351 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3891, allocations: 56.44 kB / 0.5351 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.3893, allocations: 239.5 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3894, allocations: 25.7 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.3894, allocations: 119.1 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.3895, allocations: 40.86 kB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.3895, allocations: 34.92 kB / 0.5356 GB, free: 9.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3897, allocations: 323.4 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3898, allocations: 44.34 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3899, allocations: 52.72 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.3902, allocations: 109.7 kB / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3902, allocations: 0 / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002904/0.3905, allocations: 159.5 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3905, allocations: 5.5 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3905, allocations: 3.938 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3905, allocations: 1.375 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.3907, allocations: 28.91 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3907, allocations: 1.344 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.3907, allocations: 2.75 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3907, allocations: 3.656 kB / 0.5363 GB, free: 8.805 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 (13): * Single equations (assignments): 13 * 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.0001105/0.3909, allocations: 139.2 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.3909, allocations: 14.62 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.3913, allocations: 197.1 kB / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3913, allocations: 2.125 kB / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3913, allocations: 0 / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3913, allocations: 0 / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006695/0.392, allocations: 0.5017 MB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.392, allocations: 3.938 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.266e-05/0.3921, allocations: 28.58 kB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3921, allocations: 1.281 kB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.3922, allocations: 6.438 kB / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3922, allocations: 5.125 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3922, allocations: 3.984 kB / 0.5372 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.3926, allocations: 255.3 kB / 0.5374 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.3926, allocations: 88.98 kB / 0.5375 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3926, allocations: 1.156 kB / 0.5375 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.3927, allocations: 7.203 kB / 0.5375 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.3928, allocations: 16.3 kB / 0.5375 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3928, allocations: 8.484 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.393, allocations: 182 kB / 0.5377 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.393, allocations: 1.281 kB / 0.5377 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.3932, allocations: 26.8 kB / 0.5377 GB, free: 7.625 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 (13): * Single equations (assignments): 13 * 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.001552/0.3948, allocations: 1.129 MB / 0.5388 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.3951, allocations: 114.2 kB / 0.5389 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3951, allocations: 4 kB / 0.5389 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3952, allocations: 61.28 kB / 0.539 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.3956, allocations: 25.5 kB / 0.539 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.398, allocations: 1.922 MB / 0.5409 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.3984, allocations: 0.7273 MB / 0.5416 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.107e-05/0.3985, allocations: 25.59 kB / 0.5416 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.3986, allocations: 47.97 kB / 0.5417 GB, free: 4.332 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3986, allocations: 0 / 0.5417 GB, free: 4.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.4192, allocations: 3.625 MB / 0.5452 GB, free: 2.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/8.04, allocations: 12.56 kB / 0.5452 GB, free: 2.379 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y,d2_t_new.y,d2_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d2_t_new2.u,d2_t_new2.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u[1],t_new.u[2],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time