Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001171/0.001171, allocations: 118.8 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.001606/0.001606, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 71.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3968, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003032/0.3998, allocations: 1.6 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009639/0.4008, allocations: 0.5286 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.4009, allocations: 0 / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.4011, allocations: 31.17 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.4015, allocations: 86.12 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.4018, allocations: 94.28 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.4019, allocations: 56.81 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.402, allocations: 15.02 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.4021, allocations: 28.3 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.4022, allocations: 22.55 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.4022, allocations: 6.188 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-05/0.4023, allocations: 32.03 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.4023, allocations: 17.69 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.4024, allocations: 24.45 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.4026, allocations: 88.31 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4026, allocations: 0 / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4026, allocations: 3.938 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4026, allocations: 1.062 kB / 0.5331 GB, free: 11.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004973/0.4031, allocations: 390 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4032, allocations: 13.88 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.4032, allocations: 31.88 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.4033, allocations: 16.58 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.4035, allocations: 186.8 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4035, allocations: 9.781 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.4035, allocations: 1.156 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.4037, allocations: 47.83 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4037, allocations: 3.984 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.4037, allocations: 1.875 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4037, allocations: 0 / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.4038, allocations: 28.33 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.4042, allocations: 277.9 kB / 0.5341 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.4044, allocations: 38.81 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.4045, allocations: 15.09 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.4045, allocations: 1.469 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.4045, allocations: 44.12 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.4045, allocations: 0 / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005671/0.4051, allocations: 144.8 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.4052, allocations: 56.88 kB / 0.5343 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.4053, allocations: 180.7 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4054, allocations: 31.08 kB / 0.5345 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.4054, allocations: 100.2 kB / 0.5346 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.4055, allocations: 13.12 kB / 0.5347 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.4055, allocations: 17.84 kB / 0.5347 GB, free: 9.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4056, allocations: 321.6 kB / 0.535 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.4057, allocations: 18.98 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.4058, allocations: 18.98 kB / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.4059, allocations: 48.39 kB / 0.5351 GB, free: 9.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4059, allocations: 4 kB / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000181/0.4061, allocations: 85.14 kB / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4061, allocations: 5.5 kB / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.4061, allocations: 0 / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.4062, allocations: 3.984 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/0.4062, allocations: 9.625 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.4063, allocations: 9.312 kB / 0.5352 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.4063, allocations: 14.61 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.4063, allocations: 1.375 kB / 0.5352 GB, free: 9.391 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 (5): * Single equations (assignments): 5 * 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.0001464/0.4065, allocations: 116.7 kB / 0.5353 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.4065, allocations: 8.031 kB / 0.5353 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.4067, allocations: 98.89 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4068, allocations: 0 / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4068, allocations: 9.312 kB / 0.5354 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4068, allocations: 0 / 0.5354 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.4072, allocations: 347.8 kB / 0.5357 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4072, allocations: 1.375 kB / 0.5357 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.4073, allocations: 9.625 kB / 0.5357 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4073, allocations: 3.938 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4073, allocations: 1.375 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4073, allocations: 0 / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.4073, allocations: 7.984 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.4075, allocations: 176.6 kB / 0.5359 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.4076, allocations: 87.77 kB / 0.536 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.4076, allocations: 5.312 kB / 0.536 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.4077, allocations: 6.734 kB / 0.536 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.4077, allocations: 5.375 kB / 0.536 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.4077, allocations: 5.375 kB / 0.536 GB, free: 8.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.4078, allocations: 136.7 kB / 0.5362 GB, free: 8.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.4079, allocations: 0 / 0.5362 GB, free: 8.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.4081, allocations: 18.94 kB / 0.5362 GB, free: 8.449 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 (5): * Single equations (assignments): 5 * 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.001318/0.4094, allocations: 1.009 MB / 0.5372 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.4097, allocations: 51.89 kB / 0.5372 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4097, allocations: 1 kB / 0.5372 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.187e-05/0.4098, allocations: 26.77 kB / 0.5372 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.4102, allocations: 17.77 kB / 0.5373 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.4123, allocations: 1.491 MB / 0.5387 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.4127, allocations: 0.6974 MB / 0.5394 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.4128, allocations: 13.27 kB / 0.5394 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.4129, allocations: 24.59 kB / 0.5394 GB, free: 5.516 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4129, allocations: 3.938 kB / 0.5394 GB, free: 5.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.4324, allocations: 2.663 MB / 0.542 GB, free: 4.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.902, allocations: 9.891 kB / 0.542 GB, free: 4.008 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time