Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 101.7 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1988/0.1988, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 68.61 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08624, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002134/0.0884, allocations: 1.543 MB / 442.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004587/0.08888, allocations: 323.5 kB / 442.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.08893, allocations: 3.938 kB / 442.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.08912, allocations: 107.7 kB / 442.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.08928, allocations: 79.77 kB / 442.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.08945, allocations: 63.8 kB / 442.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.08955, allocations: 71.88 kB / 442.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.08963, allocations: 15.98 kB / 442.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.08967, allocations: 35.91 kB / 442.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.08975, allocations: 67.75 kB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.08977, allocations: 0 / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.507e-05/0.08983, allocations: 31.98 kB / 443 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.08987, allocations: 23.91 kB / 443 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.08991, allocations: 31.75 kB / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.09002, allocations: 91.66 kB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.09003, allocations: 4 kB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.09003, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.09004, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.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.0002733/0.09032, allocations: 410.8 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.09036, allocations: 15.89 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.977e-05/0.09038, allocations: 42.67 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.09041, allocations: 8.844 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.09052, allocations: 196 kB / 443.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-06/0.09053, allocations: 4.375 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.09055, allocations: 4.359 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.09064, allocations: 49.62 kB / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.09066, allocations: 4 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.09067, allocations: 0 / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.09068, allocations: 4 kB / 443.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.09075, allocations: 19.98 kB / 443.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.09095, allocations: 288.8 kB / 444.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.0911, allocations: 42.56 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.09115, allocations: 20.84 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.09117, allocations: 3.938 kB / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.157e-06/0.09119, allocations: 34.64 kB / 444.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.09119, allocations: 0 / 444.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004005/0.0916, allocations: 157 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.09163, allocations: 59.41 kB / 444.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.09176, allocations: 246.6 kB / 444.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-06/0.09178, allocations: 25.7 kB / 444.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.09181, allocations: 108.1 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.09183, allocations: 11.81 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.09186, allocations: 21.66 kB / 444.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.496e-05/0.0919, allocations: 326.8 kB / 445.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-05/0.09196, allocations: 23.98 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.09202, allocations: 15.98 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.819e-05/0.09212, allocations: 44.83 kB / 445.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.09213, allocations: 0 / 445.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00014/0.09227, allocations: 81.48 kB / 445.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.09229, allocations: 4 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.0923, allocations: 4 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.09231, allocations: 7.984 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.09237, allocations: 15.94 kB / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.09238, allocations: 0 / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.476e-05/0.09242, allocations: 7.984 kB / 445.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.09243, allocations: 3.938 kB / 445.4 MB, free: 1.824 MB / 318.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 4.932e-05/0.09248, allocations: 133.8 kB / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.09251, allocations: 7.906 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.09269, allocations: 106.9 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.0927, allocations: 0 / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.09271, allocations: 0 / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.09272, allocations: 0 / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.093, allocations: 358.4 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.09301, allocations: 0 / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.09307, allocations: 11.98 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.09307, allocations: 4 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.09308, allocations: 4 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.09309, allocations: 7.938 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.0931, allocations: 3.938 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.09325, allocations: 179.3 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.09327, allocations: 89 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.09329, allocations: 0 / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.184e-05/0.09336, allocations: 11.94 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.09338, allocations: 3.984 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.09339, allocations: 4 kB / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.819e-05/0.09349, allocations: 179.2 kB / 446.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09349, allocations: 0 / 446.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.09371, allocations: 19.98 kB / 446.5 MB, free: 0.6211 MB / 318.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.000995/0.09471, allocations: 1.013 MB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.09488, allocations: 47.97 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.09489, allocations: 0 / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.461e-05/0.09496, allocations: 27.92 kB / 447.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.09524, allocations: 25.95 kB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.09672, allocations: 1.614 MB / 449.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.09698, allocations: 0.7041 MB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.09702, allocations: 8.234 kB / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.09707, allocations: 35.36 kB / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09708, allocations: 0 / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2156/0.3127, allocations: 2.837 MB / 452.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.522, allocations: 11.94 kB / 452.8 MB, free: 10.23 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.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.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,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time