Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 109.8 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 75.52 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1374, allocations: 62.43 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003715/0.1412, allocations: 1.793 MB / 481.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1431, allocations: 1.01 MB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1432, allocations: 4 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.1436, allocations: 51.81 kB / 482.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.144, allocations: 75.75 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.1442, allocations: 63.88 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1445, allocations: 107.6 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1446, allocations: 19.98 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1447, allocations: 43.78 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.1448, allocations: 31.8 kB / 482.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1448, allocations: 4 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.145, allocations: 51.91 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.145, allocations: 23.92 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.1451, allocations: 43.67 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.1454, allocations: 115.9 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1454, allocations: 4 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1454, allocations: 0 / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1454, allocations: 0 / 483 MB, free: 2.055 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.0006744/0.1461, allocations: 438.8 kB / 483.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1461, allocations: 8.031 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.1462, allocations: 34.73 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.1462, allocations: 12.84 kB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1465, allocations: 221.6 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1466, allocations: 4.375 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1466, allocations: 7.938 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1468, allocations: 53.67 kB / 483.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1468, allocations: 0 / 483.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1468, allocations: 0 / 483.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1468, allocations: 4 kB / 483.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.1469, allocations: 15.98 kB / 483.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.1473, allocations: 304.7 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1475, allocations: 54.69 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.1476, allocations: 20.84 kB / 484.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1476, allocations: 8 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.1478, allocations: 67.31 kB / 484.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1478, allocations: 0 / 484.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005755/0.1484, allocations: 185.2 kB / 484.4 MB, free: 472 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1485, allocations: 55.34 kB / 484.5 MB, free: 404 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1487, allocations: 238.1 kB / 484.7 MB, free: 156 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1487, allocations: 29.7 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.1488, allocations: 108.1 kB / 484.9 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.1488, allocations: 23.7 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.1489, allocations: 29.66 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.149, allocations: 326.8 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.1491, allocations: 27.92 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.1492, allocations: 33.7 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1493, allocations: 61.66 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1493, allocations: 0 / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.1495, allocations: 105.5 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1495, allocations: 14.69 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1495, allocations: 0 / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1496, allocations: 0 / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.1497, allocations: 23.91 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1497, allocations: 4 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.1497, allocations: 3.938 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1498, allocations: 8 kB / 485.5 MB, free: 15.33 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 0.0001042/0.1499, allocations: 125.8 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.1499, allocations: 11.91 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.15, allocations: 21.41 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.15, allocations: 3.984 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.15, allocations: 4 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.15, allocations: 3.938 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.1504, allocations: 395.2 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1504, allocations: 0 / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.1505, allocations: 11.98 kB / 486.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1505, allocations: 7.938 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1505, allocations: 4.031 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1505, allocations: 0 / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1505, allocations: 3.938 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1508, allocations: 200.3 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.1508, allocations: 88.92 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.1509, allocations: 11.92 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.151, allocations: 4.375 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.151, allocations: 4 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.151, allocations: 11.98 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1512, allocations: 176.4 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1512, allocations: 192 / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1514, allocations: 27.98 kB / 486.6 MB, free: 14.12 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.001579/0.153, allocations: 1.083 MB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1532, allocations: 71.89 kB / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1533, allocations: 0 / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.1533, allocations: 40 kB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1537, allocations: 28.42 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1556, allocations: 1.748 MB / 489.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1559, allocations: 0.7156 MB / 490.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.939e-05/0.156, allocations: 16.88 kB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.156, allocations: 43.42 kB / 490.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.156, allocations: 0 / 490.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.17, allocations: 3.439 MB / 493.8 MB, free: 7.078 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/0.1702, allocations: 242.2 kB / 494 MB, free: 6.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.132, allocations: 0 / 494 MB, free: 6.816 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches