Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.004373/0.004373, allocations: 99.86 kB / 15.87 MB, free: 6.309 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.001077/0.001077, allocations: 190 kB / 16.78 MB, free: 6.238 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.284/1.284, allocations: 205.1 MB / 222.6 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3038/0.3038, allocations: 43.49 MB / 313.5 MB, free: 8.656 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.001317/0.001318, allocations: 71.89 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.0966, allocations: 57.79 MB / 439.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.002435/0.09906, allocations: 1.602 MB / 441.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005317/0.09962, allocations: 335.5 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.09966, allocations: 0 / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.0999, allocations: 103.8 kB / 442 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1, allocations: 75.83 kB / 442 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1002, allocations: 83.84 kB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.1004, allocations: 71.8 kB / 442.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.192e-05/0.1004, allocations: 16.27 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.1005, allocations: 35.84 kB / 442.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.1006, allocations: 63.81 kB / 442.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1006, allocations: 0 / 442.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.995e-05/0.1007, allocations: 31.98 kB / 442.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.1007, allocations: 23.91 kB / 442.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.1007, allocations: 31.75 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1009, allocations: 95.66 kB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1009, allocations: 0 / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.1009, allocations: 0 / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.1009, allocations: 0 / 442.5 MB, free: 12.15 MB / 382.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.0003376/0.1012, allocations: 418.8 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1013, allocations: 16.02 kB / 442.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.448e-05/0.1013, allocations: 34.75 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.1013, allocations: 8.844 kB / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1015, allocations: 204 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.1015, allocations: 4.359 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1015, allocations: 4.375 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1016, allocations: 49.62 kB / 443.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1016, allocations: 0 / 443.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.1016, allocations: 7.938 kB / 443.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-06/0.1017, allocations: 0 / 443.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.92e-05/0.1017, allocations: 23.92 kB / 443.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.102, allocations: 292.9 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1022, allocations: 46.55 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.1022, allocations: 16.86 kB / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.1023, allocations: 0 / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.1023, allocations: 38.58 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1023, allocations: 4 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004595/0.1028, allocations: 161.1 kB / 443.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.1028, allocations: 51.41 kB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.103, allocations: 234.7 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.103, allocations: 33.69 kB / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.1031, allocations: 108.1 kB / 444.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.1031, allocations: 15.8 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.1031, allocations: 17.72 kB / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.1032, allocations: 326.8 kB / 444.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.1033, allocations: 19.98 kB / 444.6 MB, free: 9.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/0.1034, allocations: 19.98 kB / 444.6 MB, free: 9.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1035, allocations: 56.81 kB / 444.6 MB, free: 9.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1035, allocations: 4 kB / 444.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001706/0.1037, allocations: 93.42 kB / 444.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1037, allocations: 4 kB / 444.7 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1037, allocations: 256 / 444.7 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.1037, allocations: 3.938 kB / 444.7 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.1038, allocations: 19.98 kB / 444.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1038, allocations: 0 / 444.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.1038, allocations: 4 kB / 444.8 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1038, allocations: 12.2 kB / 444.8 MB, free: 9.613 MB / 382.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 7.784e-05/0.1039, allocations: 129.8 kB / 444.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.104, allocations: 15.89 kB / 444.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.1042, allocations: 102.6 kB / 445 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1042, allocations: 0 / 445 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1042, allocations: 0 / 445 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1042, allocations: 0 / 445 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.1046, allocations: 370.5 kB / 445.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1046, allocations: 0 / 445.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.1047, allocations: 12 kB / 445.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1047, allocations: 0 / 445.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1047, allocations: 3.984 kB / 445.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1047, allocations: 7.875 kB / 445.4 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1047, allocations: 0 / 445.4 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.1049, allocations: 191.3 kB / 445.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.1049, allocations: 89 kB / 445.7 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.105, allocations: 0 / 445.7 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.105, allocations: 8.125 kB / 445.7 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.1051, allocations: 7.984 kB / 445.7 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.1051, allocations: 4 kB / 445.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1052, allocations: 188.3 kB / 445.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1052, allocations: 4 kB / 445.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.1054, allocations: 12 kB / 445.9 MB, free: 8.375 MB / 382.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.001146/0.1066, allocations: 1.019 MB / 446.9 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1068, allocations: 59.91 kB / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1068, allocations: 0 / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.1068, allocations: 28.05 kB / 447 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1072, allocations: 20.05 kB / 447 MB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1086, allocations: 1.678 MB / 448.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.1089, allocations: 0.716 MB / 449.4 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.999e-05/0.1089, allocations: 15.98 kB / 449.4 MB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.109, allocations: 31.42 kB / 449.5 MB, free: 4.727 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.109, allocations: 0 / 449.5 MB, free: 4.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6672/0.7762, allocations: 2.682 MB / 452.1 MB, free: 2.023 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003393/0.7766, allocations: 231.8 kB / 452.4 MB, free: 1.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.536, allocations: 0 / 452.4 MB, free: 1.77 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time