Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.12 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 71.27 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1373, allocations: 62.45 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003177/0.1405, allocations: 1.68 MB / 481.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.1415, allocations: 0.5378 MB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.1416, allocations: 0 / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.1419, allocations: 103.7 kB / 481.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.1422, allocations: 103.8 kB / 481.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1425, allocations: 75.86 kB / 481.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1427, allocations: 91.73 kB / 482 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1429, allocations: 12 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.1429, allocations: 35.89 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1431, allocations: 75.73 kB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1431, allocations: 4 kB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1432, allocations: 39.98 kB / 482.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.1433, allocations: 27.86 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.1433, allocations: 31.73 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1435, allocations: 107.9 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1435, allocations: 8 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1436, allocations: 0 / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1436, allocations: 0 / 482.3 MB, free: 2.711 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.0005555/0.1441, allocations: 430.8 kB / 482.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1442, allocations: 8.875 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.1442, allocations: 34.69 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.1443, allocations: 20.72 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1445, allocations: 204.8 kB / 483 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1445, allocations: 4.359 kB / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1446, allocations: 8.375 kB / 483 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1447, allocations: 53.61 kB / 483.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1448, allocations: 0 / 483.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1448, allocations: 8 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1448, allocations: 4 kB / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1449, allocations: 27.97 kB / 483.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.1453, allocations: 296.7 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1455, allocations: 42.56 kB / 483.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.1455, allocations: 24.94 kB / 483.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1456, allocations: 0 / 483.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1456, allocations: 34.5 kB / 483.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1456, allocations: 0 / 483.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009361/0.1465, allocations: 241.3 kB / 483.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1466, allocations: 51.41 kB / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1469, allocations: 259 kB / 484 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1469, allocations: 29.7 kB / 484.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.147, allocations: 108.1 kB / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.147, allocations: 27.56 kB / 484.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.147, allocations: 21.7 kB / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1472, allocations: 334.8 kB / 484.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.1473, allocations: 23.98 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.1473, allocations: 19.98 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1475, allocations: 60.83 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1475, allocations: 0 / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002097/0.1477, allocations: 109.4 kB / 484.7 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1477, allocations: 8 kB / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1478, allocations: 0 / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1478, allocations: 0 / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.1479, allocations: 23.92 kB / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1479, allocations: 3.938 kB / 484.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.148, allocations: 4.078 kB / 484.8 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.148, allocations: 4 kB / 484.8 MB, free: 15.99 MB / 366.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 0.0001048/0.1481, allocations: 129.8 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.1481, allocations: 15.81 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.1484, allocations: 130.9 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1484, allocations: 0 / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1484, allocations: 7.922 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1484, allocations: 4 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.1489, allocations: 407.7 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.149, allocations: 3.938 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.149, allocations: 23.92 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1491, allocations: 0 / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1491, allocations: 4 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1491, allocations: 0 / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1491, allocations: 0 / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.1494, allocations: 216.2 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.1494, allocations: 88.95 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1494, allocations: 0 / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1495, allocations: 7.984 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1496, allocations: 4 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.1496, allocations: 7.984 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1497, allocations: 192.4 kB / 486 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1497, allocations: 4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.15, allocations: 20 kB / 486 MB, free: 14.64 MB / 366.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.001573/0.1516, allocations: 1.085 MB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1518, allocations: 67.89 kB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1518, allocations: 0 / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.1519, allocations: 43.97 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1523, allocations: 15.98 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1543, allocations: 1.759 MB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1546, allocations: 0.7179 MB / 489.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.534e-05/0.1547, allocations: 12.97 kB / 489.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.1548, allocations: 39.42 kB / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1548, allocations: 0 / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.1684, allocations: 3.017 MB / 492.8 MB, free: 7.996 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/0.1687, allocations: 248.6 kB / 493 MB, free: 7.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.113, allocations: 0 / 493 MB, free: 7.727 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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,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.nHeaderLines,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