Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, 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.2049/0.2049, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 83.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3835, allocations: 62.43 MB / 0.5305 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003324/0.3869, allocations: 1.616 MB / 0.5321 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.388, allocations: 0.5434 MB / 0.5326 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.3881, allocations: 1.781 kB / 0.5326 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.3884, allocations: 133.8 kB / 0.5328 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.3889, allocations: 123.6 kB / 0.5329 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.3893, allocations: 117.1 kB / 0.533 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.3896, allocations: 97.11 kB / 0.5331 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.3897, allocations: 25.59 kB / 0.5331 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.564e-05/0.3898, allocations: 37.91 kB / 0.5332 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3899, allocations: 86.52 kB / 0.5332 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.3899, allocations: 4.125 kB / 0.5332 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3901, allocations: 44.86 kB / 0.5333 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.3901, allocations: 30.86 kB / 0.5333 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.3902, allocations: 34.56 kB / 0.5333 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.3904, allocations: 135.3 kB / 0.5335 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3904, allocations: 0 / 0.5335 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3904, allocations: 0 / 0.5335 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3905, allocations: 0 / 0.5335 GB, free: 11.48 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.0005685/0.391, allocations: 438.4 kB / 0.5339 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.3911, allocations: 8.25 kB / 0.5339 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.3911, allocations: 36.12 kB / 0.5339 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.3912, allocations: 15.62 kB / 0.534 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.3915, allocations: 205.5 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3916, allocations: 5.75 kB / 0.5342 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3916, allocations: 7.062 kB / 0.5342 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.3918, allocations: 67.28 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3918, allocations: 0 / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3919, allocations: 1.375 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3919, allocations: 0 / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.392, allocations: 32.28 kB / 0.5343 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.3927, allocations: 311.7 kB / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3928, allocations: 44.59 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.3929, allocations: 20.91 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.393, allocations: 1.031 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.393, allocations: 31.94 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.393, allocations: 0 / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001273/0.3943, allocations: 260.2 kB / 0.5349 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.3944, allocations: 52.69 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.3948, allocations: 283 kB / 0.5352 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3948, allocations: 29.7 kB / 0.5352 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.187e-05/0.3949, allocations: 116 kB / 0.5354 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.395, allocations: 30.69 kB / 0.5354 GB, free: 9.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.395, allocations: 23.73 kB / 0.5354 GB, free: 9.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3952, allocations: 324.8 kB / 0.5357 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3954, allocations: 27.33 kB / 0.5357 GB, free: 9.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3955, allocations: 32.81 kB / 0.5358 GB, free: 9.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.3957, allocations: 78.03 kB / 0.5358 GB, free: 9.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3958, allocations: 0 / 0.5358 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003255/0.3961, allocations: 110.4 kB / 0.536 GB, free: 9.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3961, allocations: 9.438 kB / 0.536 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3961, allocations: 0 / 0.536 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3962, allocations: 1.375 kB / 0.536 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.3963, allocations: 21.67 kB / 0.536 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3963, allocations: 5.312 kB / 0.536 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.3965, allocations: 10.75 kB / 0.536 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3965, allocations: 2.406 kB / 0.536 GB, free: 9.195 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.0001554/0.3967, allocations: 133.7 kB / 0.5361 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.3967, allocations: 18.08 kB / 0.5361 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.3972, allocations: 132.6 kB / 0.5363 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3972, allocations: 5.219 kB / 0.5363 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.3972, allocations: 3.938 kB / 0.5363 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3972, allocations: 9.141 kB / 0.5363 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007985/0.398, allocations: 424.2 kB / 0.5367 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3981, allocations: 1.094 kB / 0.5367 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3982, allocations: 21.17 kB / 0.5367 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3982, allocations: 1.094 kB / 0.5367 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3982, allocations: 10.16 kB / 0.5367 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3982, allocations: 1.141 kB / 0.5367 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3982, allocations: 8.016 kB / 0.5367 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.3987, allocations: 218.8 kB / 0.5369 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.3988, allocations: 92.42 kB / 0.537 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3988, allocations: 1.375 kB / 0.537 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.3989, allocations: 3.344 kB / 0.537 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.399, allocations: 15.27 kB / 0.5371 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.399, allocations: 2.344 kB / 0.5371 GB, free: 8.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.3993, allocations: 209.5 kB / 0.5373 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3993, allocations: 0 / 0.5373 GB, free: 8.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004355/0.3998, allocations: 23.28 kB / 0.5373 GB, free: 8.105 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.002174/0.4019, allocations: 1.098 MB / 0.5383 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.4023, allocations: 79.34 kB / 0.5384 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4023, allocations: 0 / 0.5384 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.4025, allocations: 39.58 kB / 0.5385 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.403, allocations: 30.11 kB / 0.5385 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.4063, allocations: 1.836 MB / 0.5403 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.4067, allocations: 0.7258 MB / 0.541 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.4069, allocations: 24.48 kB / 0.541 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.407, allocations: 42.3 kB / 0.5411 GB, free: 4.898 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.407, allocations: 0 / 0.5411 GB, free: 4.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.4334, allocations: 3.461 MB / 0.5444 GB, free: 3.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/8.007, allocations: 10.73 kB / 0.5444 GB, free: 3.027 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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