Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_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.001348/0.001348, allocations: 107.4 kB / 15.98 MB, free: 6.355 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.001464/0.001465, allocations: 190.7 kB / 16.91 MB, free: 6.191 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.632/1.632, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.3217/0.3217, allocations: 43.49 MB / 313.6 MB, free: 8.289 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.001306/0.001307, allocations: 67.89 kB / 382.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09294, allocations: 57.79 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002511/0.0955, allocations: 1.606 MB / 441.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004773/0.09599, allocations: 315.6 kB / 442 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.09604, allocations: 4 kB / 442 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.09631, allocations: 103.7 kB / 442.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.09647, allocations: 71.8 kB / 442.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.09666, allocations: 63.91 kB / 442.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.0968, allocations: 75.83 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.09689, allocations: 16.25 kB / 442.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.986e-05/0.09694, allocations: 43.83 kB / 442.4 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.482e-05/0.09703, allocations: 59.88 kB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.09705, allocations: 0 / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.09712, allocations: 31.92 kB / 442.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.09717, allocations: 31.86 kB / 442.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.09721, allocations: 31.73 kB / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.09735, allocations: 95.66 kB / 442.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.09736, allocations: 8 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09736, allocations: 0 / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.09737, allocations: 0 / 442.6 MB, free: 11.84 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.0003829/0.09776, allocations: 406.9 kB / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.0978, allocations: 15.88 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.09784, allocations: 38.75 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.09787, allocations: 8.844 kB / 443.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.09802, allocations: 211.9 kB / 443.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.09804, allocations: 4.375 kB / 443.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.09806, allocations: 4.312 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.09818, allocations: 49.62 kB / 443.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.09819, allocations: 0 / 443.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.0982, allocations: 0 / 443.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.09821, allocations: 0 / 443.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.09829, allocations: 23.98 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.09858, allocations: 292.8 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.09876, allocations: 38.56 kB / 443.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.09881, allocations: 12.86 kB / 443.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.09884, allocations: 4 kB / 443.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.09886, allocations: 34.64 kB / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.09887, allocations: 0 / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004658/0.09934, allocations: 153.1 kB / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.09938, allocations: 55.41 kB / 444 MB, free: 10.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.09956, allocations: 234.7 kB / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.09958, allocations: 25.7 kB / 444.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.09964, allocations: 116.1 kB / 444.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.09966, allocations: 7.812 kB / 444.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.09969, allocations: 21.72 kB / 444.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.09979, allocations: 330.8 kB / 444.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.09985, allocations: 19.92 kB / 444.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.09991, allocations: 24.11 kB / 444.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1, allocations: 48.83 kB / 444.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1, allocations: 0 / 444.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001529/0.1002, allocations: 85.48 kB / 444.9 MB, free: 9.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1002, allocations: 4 kB / 444.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1002, allocations: 3.984 kB / 444.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.1002, allocations: 0 / 444.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.1003, allocations: 19.94 kB / 444.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1003, allocations: 0 / 444.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.1003, allocations: 7.984 kB / 444.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1004, allocations: 3.938 kB / 444.9 MB, free: 9.352 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.413e-05/0.1004, allocations: 129.8 kB / 445 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.1005, allocations: 7.906 kB / 445 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.1007, allocations: 94.66 kB / 445.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1007, allocations: 3.938 kB / 445.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1007, allocations: 0 / 445.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1007, allocations: 0 / 445.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.101, allocations: 366.4 kB / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1011, allocations: 0 / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.1011, allocations: 12.17 kB / 445.5 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1011, allocations: 4 kB / 445.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1011, allocations: 8 kB / 445.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1011, allocations: 3.938 kB / 445.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1011, allocations: 0 / 445.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1013, allocations: 183.3 kB / 445.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.1014, allocations: 89 kB / 445.8 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.1014, allocations: 0 / 445.8 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.1015, allocations: 7.938 kB / 445.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.1015, allocations: 7.984 kB / 445.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1015, allocations: 0 / 445.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1016, allocations: 184.3 kB / 446 MB, free: 8.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1016, allocations: 0 / 446 MB, free: 8.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1018, allocations: 19.98 kB / 446 MB, free: 8.141 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.001117/0.103, allocations: 1.022 MB / 447 MB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1031, allocations: 47.97 kB / 447.1 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1031, allocations: 0 / 447.1 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.247e-05/0.1032, allocations: 23.98 kB / 447.1 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1035, allocations: 23.06 kB / 447.1 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1049, allocations: 1.649 MB / 448.8 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.1051, allocations: 0.7041 MB / 449.5 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.54e-05/0.1052, allocations: 12.05 kB / 449.5 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.1052, allocations: 39.42 kB / 449.5 MB, free: 4.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1052, allocations: 0 / 449.5 MB, free: 4.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.631/0.7362, allocations: 2.712 MB / 452.2 MB, free: 1.805 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.7365, allocations: 241.3 kB / 452.5 MB, free: 1.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.032, allocations: 4 kB / 452.5 MB, free: 1.539 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_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 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