Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",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.001178/0.001178, allocations: 104 kB / 17.63 MB, free: 5.523 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.001292/0.001292, allocations: 192.1 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 59.62 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09429, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002628/0.09695, allocations: 1.58 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000639/0.0976, allocations: 407.2 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.09766, allocations: 7.938 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.0979, allocations: 103.7 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.0981, allocations: 79.78 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.09832, allocations: 87.06 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.09846, allocations: 79.88 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.09857, allocations: 24.11 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.09863, allocations: 35.84 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.09873, allocations: 63.81 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.09875, allocations: 7.938 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.09884, allocations: 47.97 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.09889, allocations: 19.92 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.09893, allocations: 31.75 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.09909, allocations: 119.8 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.0991, allocations: 0 / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0991, allocations: 0 / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.09912, allocations: 0 / 472 MB, free: 11.59 MB / 350.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.0004145/0.09953, allocations: 411 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.09957, allocations: 8.031 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.09961, allocations: 46.67 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.09964, allocations: 12.75 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.09981, allocations: 204.1 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.09983, allocations: 4.375 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.09985, allocations: 8.125 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.09997, allocations: 49.69 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.09999, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.1, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1, allocations: 4 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-05/0.1001, allocations: 27.91 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.1004, allocations: 300.7 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.1005, allocations: 38.56 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.1006, allocations: 20.94 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1006, allocations: 4 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.1006, allocations: 34.5 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1006, allocations: 4 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007619/0.1014, allocations: 229 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.1014, allocations: 55.34 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1016, allocations: 238.7 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1017, allocations: 29.7 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.1017, allocations: 108.1 kB / 473.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.1017, allocations: 23.56 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.1018, allocations: 25.7 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.1019, allocations: 322.8 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.102, allocations: 23.98 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.102, allocations: 23.98 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1022, allocations: 64.83 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1022, allocations: 0 / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001936/0.1024, allocations: 105.5 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1024, allocations: 11.94 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1024, allocations: 432 / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1024, allocations: 0 / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.1025, allocations: 15.98 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1025, allocations: 7.938 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.1026, allocations: 8 kB / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1026, allocations: 4 kB / 474.4 MB, free: 8.934 MB / 350.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 8.496e-05/0.1027, allocations: 130.9 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.1027, allocations: 15.81 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.103, allocations: 127.3 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.103, allocations: 0 / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.103, allocations: 7.938 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.103, allocations: 4 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.1034, allocations: 403.2 kB / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1035, allocations: 3.938 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.1035, allocations: 15.98 kB / 475.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1035, allocations: 4 kB / 475.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1035, allocations: 8.031 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1036, allocations: 0 / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1036, allocations: 7.938 kB / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1038, allocations: 196.3 kB / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.1038, allocations: 92.8 kB / 475.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1039, allocations: 4 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.1039, allocations: 11.98 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.104, allocations: 4 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.104, allocations: 4 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1041, allocations: 183.2 kB / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1041, allocations: 0 / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1044, allocations: 24 kB / 475.7 MB, free: 7.605 MB / 350.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.001327/0.1057, allocations: 1.092 MB / 476.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1059, allocations: 67.89 kB / 476.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1059, allocations: 0 / 476.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.106, allocations: 35.98 kB / 476.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1063, allocations: 27.58 kB / 476.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1079, allocations: 1.72 MB / 478.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.1082, allocations: 0.7119 MB / 479.3 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.386e-05/0.1083, allocations: 12.66 kB / 479.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.1083, allocations: 39.42 kB / 479.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1083, allocations: 0 / 479.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.1559, allocations: 3.115 MB / 482.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/8.552, allocations: 10.89 kB / 482.5 MB, free: 0.8945 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),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