Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007191/0.0007191, allocations: 96.58 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008977/0.0008977, allocations: 203.3 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.000332, allocations: 12.28 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 63.56 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002465/0.1506, allocations: 1.454 MB / 484.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.1541, allocations: 1.569 MB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1543, allocations: 4 kB / 486.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.1546, allocations: 35.84 kB / 486.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.1549, allocations: 79.73 kB / 486.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1552, allocations: 67.8 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1555, allocations: 95.7 kB / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1556, allocations: 12 kB / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1557, allocations: 43.77 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1559, allocations: 43.72 kB / 486.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1559, allocations: 4 kB / 486.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.1561, allocations: 99.94 kB / 486.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.1562, allocations: 23.84 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.1563, allocations: 57.5 kB / 486.8 MB, free: 436 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.1566, allocations: 167.8 kB / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1566, allocations: 4 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1566, allocations: 0 / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1566, allocations: 0 / 486.9 MB, free: 264 kB / 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.0005545/0.1572, allocations: 403.2 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1573, allocations: 16.88 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.137e-05/0.1573, allocations: 34.73 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.1574, allocations: 8.844 kB / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1577, allocations: 220.3 kB / 487.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.1577, allocations: 0 / 487.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1577, allocations: 4 kB / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1579, allocations: 71.39 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1579, allocations: 0 / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1579, allocations: 4 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1579, allocations: 0 / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.158, allocations: 23.92 kB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.1584, allocations: 284.9 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1586, allocations: 58.69 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1586, allocations: 24.84 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1587, allocations: 3.938 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.1588, allocations: 71.33 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1588, allocations: 0 / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005325/0.1594, allocations: 173.1 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.1594, allocations: 81.05 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1596, allocations: 169.9 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1597, allocations: 29.7 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.1597, allocations: 100.1 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1598, allocations: 27.64 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1598, allocations: 13.7 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1599, allocations: 326.8 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.444e-05/0.16, allocations: 16 kB / 489.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.1601, allocations: 42.56 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1602, allocations: 73.64 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1602, allocations: 0 / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.1604, allocations: 89.59 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1604, allocations: 11.98 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1604, allocations: 0 / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1605, allocations: 0 / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.1606, allocations: 23.88 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1606, allocations: 8.062 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.1606, allocations: 3.984 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1607, allocations: 7.984 kB / 489.3 MB, free: 13.62 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.0001053/0.1608, allocations: 121.8 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.1608, allocations: 11.81 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.1608, allocations: 16.7 kB / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1609, allocations: 3.938 kB / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1609, allocations: 0 / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1609, allocations: 0 / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.1613, allocations: 399.3 kB / 489.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1613, allocations: 3.938 kB / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.1614, allocations: 8 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1614, allocations: 0 / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1614, allocations: 3.938 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1614, allocations: 4 kB / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1614, allocations: 3.984 kB / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1617, allocations: 200.9 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.1617, allocations: 96.86 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1618, allocations: 7.922 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.1619, allocations: 8 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.1619, allocations: 4 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1619, allocations: 7.984 kB / 490.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.162, allocations: 127.2 kB / 490.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1621, allocations: 0 / 490.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.1624, allocations: 43.98 kB / 490.4 MB, free: 12.46 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.001669/0.1641, allocations: 1.172 MB / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1642, allocations: 59.92 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1643, allocations: 0 / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.1643, allocations: 35.91 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1647, allocations: 28.09 kB / 491.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1668, allocations: 1.607 MB / 493.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.1672, allocations: 0.6976 MB / 494 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.919e-05/0.1673, allocations: 24.8 kB / 494 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.1674, allocations: 39.41 kB / 494 MB, free: 8.844 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1674, allocations: 0 / 494 MB, free: 8.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.1824, allocations: 3.566 MB / 497.6 MB, free: 5.418 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.1826, allocations: 232.8 kB / 497.8 MB, free: 5.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.013, allocations: 0 / 497.8 MB, free: 5.168 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches