Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001148, allocations: 117.8 kB / 17.79 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 203.8 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 79.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4113, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003091/0.4145, allocations: 1.616 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009975/0.4155, allocations: 0.5439 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.4156, allocations: 1.812 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.4159, allocations: 73.95 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.4163, allocations: 100.3 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.4166, allocations: 115.9 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.4168, allocations: 82.47 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.4169, allocations: 20.23 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.417, allocations: 31.03 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.4171, allocations: 56.5 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.4171, allocations: 2.75 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.615e-05/0.4172, allocations: 44.86 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.4173, allocations: 16.19 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.4173, allocations: 33.23 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.4176, allocations: 103.1 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4176, allocations: 0 / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4176, allocations: 4 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.4176, allocations: 1.375 kB / 0.5333 GB, free: 11.33 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.0005497/0.4181, allocations: 414.4 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4182, allocations: 9.625 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.4182, allocations: 30.75 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.4183, allocations: 14.25 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.4185, allocations: 202.9 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-06/0.4185, allocations: 1.688 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.4185, allocations: 11 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.4187, allocations: 58.89 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4187, allocations: 1.438 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4187, allocations: 4 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.4187, allocations: 1.625 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.4189, allocations: 30.81 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.4193, allocations: 299.5 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.4194, allocations: 47.53 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.4195, allocations: 22.12 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.4195, allocations: 0 / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.4196, allocations: 35.88 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4196, allocations: 0 / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009465/0.4205, allocations: 241.7 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.4206, allocations: 56.83 kB / 0.5347 GB, free: 9.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.4208, allocations: 203.7 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.4208, allocations: 30.92 kB / 0.5349 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.4209, allocations: 101.5 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.4209, allocations: 31.05 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.421, allocations: 23.47 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4211, allocations: 322.3 kB / 0.5354 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.011e-05/0.4212, allocations: 32.47 kB / 0.5354 GB, free: 9.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.4213, allocations: 28.64 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.4215, allocations: 78.34 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4215, allocations: 3.938 kB / 0.5355 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002265/0.4217, allocations: 108.8 kB / 0.5356 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4218, allocations: 7.906 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.4218, allocations: 0 / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4218, allocations: 1 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.4219, allocations: 21.73 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4219, allocations: 3.938 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.422, allocations: 8.109 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.422, allocations: 9.359 kB / 0.5357 GB, free: 9.121 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 9.994e-05/0.4221, allocations: 132.8 kB / 0.5358 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.4221, allocations: 11.94 kB / 0.5358 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.4224, allocations: 125.9 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4224, allocations: 1.375 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4225, allocations: 3.938 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4225, allocations: 1.375 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.423, allocations: 418.9 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.423, allocations: 0 / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.4231, allocations: 22.11 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4231, allocations: 0.9375 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4231, allocations: 5.156 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4231, allocations: 4.922 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4231, allocations: 9.219 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.4235, allocations: 215.6 kB / 0.5366 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.4235, allocations: 88.33 kB / 0.5367 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.4236, allocations: 1.031 kB / 0.5367 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.4236, allocations: 11.42 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.4237, allocations: 3.25 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.4237, allocations: 3.406 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.4238, allocations: 162 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4239, allocations: 0 / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.4241, allocations: 26.8 kB / 0.5369 GB, free: 8.059 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.001569/0.4257, allocations: 1.086 MB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4259, allocations: 76.05 kB / 0.538 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.426, allocations: 4 kB / 0.538 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4261, allocations: 39.81 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.4265, allocations: 16.05 kB / 0.5381 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.4286, allocations: 1.688 MB / 0.5397 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.4289, allocations: 0.708 MB / 0.5404 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.968e-05/0.429, allocations: 24.64 kB / 0.5404 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.4291, allocations: 32.86 kB / 0.5405 GB, free: 4.945 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4291, allocations: 1.312 kB / 0.5405 GB, free: 4.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.4524, allocations: 3.118 MB / 0.5435 GB, free: 3.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.905, allocations: 6.078 kB / 0.5435 GB, free: 3.234 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time