Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007702/0.0007704, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000841/0.000841, allocations: 201 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, 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.1982/0.1982, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 12 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 63.55 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002451/0.1506, allocations: 1.411 MB / 484.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1523, allocations: 0.9707 MB / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1525, allocations: 0 / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.1529, allocations: 55.81 kB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.1532, allocations: 79.72 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1535, allocations: 59.88 kB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.1537, allocations: 103.6 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.1538, allocations: 4.234 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1539, allocations: 39.8 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.918e-05/0.154, allocations: 35.83 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.154, allocations: 4 kB / 485.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1541, allocations: 35.92 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.1542, allocations: 27.86 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.794e-05/0.1543, allocations: 69.38 kB / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1545, allocations: 111.8 kB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1545, allocations: 4 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1545, allocations: 0 / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1545, allocations: 0 / 486.2 MB, free: 1.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005941/0.1551, allocations: 422.9 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.1552, allocations: 8.875 kB / 486.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.121e-05/0.1553, allocations: 30.75 kB / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.1553, allocations: 24.73 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.1556, allocations: 212.9 kB / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1556, allocations: 12.36 kB / 486.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1557, allocations: 3.938 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1558, allocations: 45.69 kB / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1558, allocations: 4 kB / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1559, allocations: 3.984 kB / 486.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1559, allocations: 3.984 kB / 486.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.156, allocations: 12 kB / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.1562, allocations: 197.6 kB / 487.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1564, allocations: 58.48 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.1565, allocations: 20.86 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1565, allocations: 3.938 kB / 487.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.1567, allocations: 63.39 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.274e-06/0.1567, allocations: 0 / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003031/0.157, allocations: 105.4 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1571, allocations: 51.41 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.1574, allocations: 271 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1574, allocations: 29.7 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.1575, allocations: 108.1 kB / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.1575, allocations: 15.81 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1575, allocations: 13.72 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1577, allocations: 330.8 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.1577, allocations: 12 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.1578, allocations: 25.7 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.881e-05/0.1579, allocations: 53.64 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1579, allocations: 3.938 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001634/0.1581, allocations: 81.5 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1581, allocations: 4 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1581, allocations: 0 / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1581, allocations: 0 / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.1582, allocations: 19.92 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1582, allocations: 4 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.1583, allocations: 7.969 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1583, allocations: 4.156 kB / 488.4 MB, free: 14.55 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 (7): * Single equations (assignments): 7 * 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.0001109/0.1584, allocations: 137.8 kB / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.1584, allocations: 11.81 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.1585, allocations: 20.98 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1585, allocations: 0 / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.1585, allocations: 4.312 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1585, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1587, allocations: 201.6 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1587, allocations: 0 / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.1587, allocations: 4 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1587, allocations: 0 / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1588, allocations: 4 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.1588, allocations: 11.97 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.1588, allocations: 3.938 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.159, allocations: 108.8 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.1591, allocations: 100.9 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1591, allocations: 4 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.1591, allocations: 3.938 kB / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.1592, allocations: 7.984 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1592, allocations: 0 / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1594, allocations: 208.4 kB / 489.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1594, allocations: 0 / 489.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.1596, allocations: 15.98 kB / 489.2 MB, free: 13.62 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001364/0.161, allocations: 0.9564 MB / 490.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.1612, allocations: 39.98 kB / 490.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1612, allocations: 0 / 490.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.1612, allocations: 19.94 kB / 490.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1615, allocations: 34.78 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.1634, allocations: 1.693 MB / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1637, allocations: 0.716 MB / 492.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.15e-05/0.1638, allocations: 12.55 kB / 492.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.1639, allocations: 39.42 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1639, allocations: 0 / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.1779, allocations: 3.046 MB / 495.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.1781, allocations: 235.8 kB / 496 MB, free: 6.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/1.955, allocations: 0 / 496 MB, free: 6.934 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches