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.001344/0.001344, allocations: 104.5 kB / 16.27 MB, free: 6.047 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.001208/0.001208, allocations: 193.7 kB / 17.2 MB, free: 5.691 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.453/1.453, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2154/0.2154, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001589/0.00159, allocations: 73.34 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09651, allocations: 57.78 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.00241/0.09896, allocations: 1.555 MB / 442.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004665/0.09945, allocations: 323.5 kB / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.0995, allocations: 7.938 kB / 442.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.09974, allocations: 107.7 kB / 442.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.09992, allocations: 75.78 kB / 442.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1001, allocations: 99.48 kB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.1003, allocations: 71.88 kB / 442.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.1004, allocations: 15.98 kB / 442.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.1004, allocations: 39.89 kB / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.122e-05/0.1005, allocations: 59.83 kB / 443 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1005, allocations: 0 / 443 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.995e-05/0.1006, allocations: 27.98 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.1006, allocations: 27.86 kB / 443 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.1007, allocations: 31.73 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.1008, allocations: 99.64 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1008, allocations: 0 / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1008, allocations: 0 / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1008, allocations: 8 kB / 443.1 MB, free: 4.273 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.0003281/0.1011, allocations: 406.9 kB / 443.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.1012, allocations: 11.89 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.043e-05/0.1012, allocations: 34.75 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.1012, allocations: 12.84 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1014, allocations: 200 kB / 443.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-06/0.1014, allocations: 4.312 kB / 443.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.1014, allocations: 384 / 443.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1015, allocations: 61.61 kB / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1015, allocations: 0 / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1015, allocations: 0 / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1016, allocations: 0 / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.1016, allocations: 27.98 kB / 443.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.1019, allocations: 288.9 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1021, allocations: 54.5 kB / 444.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.1022, allocations: 12.94 kB / 444.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1022, allocations: 15.88 kB / 444.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.013e-05/0.1022, allocations: 30.56 kB / 444.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1022, allocations: 0 / 444.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004791/0.1027, allocations: 165 kB / 444.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.1027, allocations: 59.41 kB / 444.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1029, allocations: 238.6 kB / 444.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.1029, allocations: 29.7 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.1029, allocations: 108.1 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.103, allocations: 11.81 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.103, allocations: 21.7 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.103, allocations: 330.8 kB / 445.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.1031, allocations: 19.98 kB / 445.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.1032, allocations: 19.98 kB / 445.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1033, allocations: 52.77 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1033, allocations: 0 / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001631/0.1035, allocations: 93.47 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.1035, allocations: 12 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1035, allocations: 0 / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1035, allocations: 0 / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.1036, allocations: 11.98 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1036, allocations: 0 / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.1036, allocations: 4 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.1037, allocations: 3.938 kB / 445.4 MB, free: 1.746 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 5.856e-05/0.1037, allocations: 141.7 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.1038, allocations: 8.156 kB / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.104, allocations: 110.6 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.104, allocations: 0 / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.104, allocations: 0 / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.104, allocations: 0 / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.1043, allocations: 366.4 kB / 446 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1043, allocations: 0 / 446 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.1044, allocations: 15.98 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1044, allocations: 0 / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1044, allocations: 4 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1044, allocations: 3.938 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1044, allocations: 3.938 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.1046, allocations: 183.3 kB / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.1046, allocations: 96.95 kB / 446.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1047, allocations: 0 / 446.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.1047, allocations: 11.92 kB / 446.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.1048, allocations: 0 / 446.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1048, allocations: 4 kB / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.445e-05/0.1049, allocations: 187.2 kB / 446.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1049, allocations: 0 / 446.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1051, allocations: 12 kB / 446.6 MB, free: 0.5195 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.001157/0.1063, allocations: 1.02 MB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1065, allocations: 59.89 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1065, allocations: 0 / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.1066, allocations: 27.98 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1069, allocations: 21.95 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.1085, allocations: 1.641 MB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.1088, allocations: 0.7119 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1089, allocations: 20.3 kB / 450.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.1089, allocations: 31.42 kB / 450.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1089, allocations: 0 / 450.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.1282, allocations: 2.85 MB / 452.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/7.906, allocations: 19.92 kB / 453 MB, free: 10.06 MB / 334.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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