Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009274/0.0009274, allocations: 97.67 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 12 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 63.56 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002416/0.1453, allocations: 1.45 MB / 484.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1471, allocations: 0.9941 MB / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1472, allocations: 0 / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.1475, allocations: 39.83 kB / 485.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1479, allocations: 75.73 kB / 485.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1481, allocations: 59.89 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1483, allocations: 107.6 kB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1484, allocations: 8 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.443e-05/0.1485, allocations: 39.8 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.1486, allocations: 31.78 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1486, allocations: 0 / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1488, allocations: 47.92 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.1488, allocations: 15.92 kB / 486 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.1489, allocations: 65.42 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1491, allocations: 119.9 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1492, allocations: 0 / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1492, allocations: 0 / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1492, allocations: 0 / 486.2 MB, free: 0.9766 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005674/0.1498, allocations: 401.3 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1498, allocations: 8.875 kB / 486.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.1499, allocations: 38.73 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.1499, allocations: 12.84 kB / 486.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.1502, allocations: 218.5 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.1502, allocations: 4.375 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1502, allocations: 11.92 kB / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1504, allocations: 53.67 kB / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1504, allocations: 0 / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1504, allocations: 0 / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1504, allocations: 0 / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.451e-05/0.1505, allocations: 23.98 kB / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.1509, allocations: 296.9 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1511, allocations: 58.67 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1512, allocations: 20.86 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1512, allocations: 0 / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.1514, allocations: 71.27 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1514, allocations: 4 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005487/0.1519, allocations: 169.3 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.152, allocations: 55.34 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1522, allocations: 198.7 kB / 487.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.1522, allocations: 29.7 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.1523, allocations: 100.1 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1523, allocations: 23.7 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.1524, allocations: 13.72 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1525, allocations: 326.8 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.254e-05/0.1526, allocations: 23.98 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.1526, allocations: 37.7 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1527, allocations: 49.72 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1527, allocations: 3.938 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.1529, allocations: 105.5 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.153, allocations: 12.03 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.153, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.153, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.1531, allocations: 23.92 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1531, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.1532, allocations: 3.938 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1532, allocations: 8 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.914e-05/0.1533, allocations: 121.8 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.1533, allocations: 15.91 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.1534, allocations: 17.34 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1534, allocations: 0 / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1534, allocations: 4.375 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1534, allocations: 3.938 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.1538, allocations: 395.2 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.1538, allocations: 8 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.1539, allocations: 8 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1539, allocations: 7.969 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1539, allocations: 4 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1539, allocations: 0 / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1539, allocations: 4 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.1541, allocations: 200.2 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.1542, allocations: 93.11 kB / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1542, allocations: 3.938 kB / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.1543, allocations: 15.92 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1543, allocations: 8 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1544, allocations: 0 / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.1545, allocations: 156.7 kB / 489.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1545, allocations: 0 / 489.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1548, allocations: 27.98 kB / 489.7 MB, free: 13.2 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00141/0.1562, allocations: 1.097 MB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.1564, allocations: 59.91 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1564, allocations: 0 / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.1565, allocations: 28 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1568, allocations: 27.97 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.1585, allocations: 1.662 MB / 492.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1588, allocations: 0.712 MB / 493.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.1588, allocations: 21.19 kB / 493.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.1589, allocations: 35.42 kB / 493.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1589, allocations: 0 / 493.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.1725, allocations: 3.014 MB / 496.3 MB, free: 6.688 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.1727, allocations: 236.1 kB / 496.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.872, allocations: 0 / 496.5 MB, free: 6.434 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches