Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 209.8 kB / 18.27 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.45/1.45, allocations: 227.4 MB / 246.4 MB, free: 9.066 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2543/0.2543, allocations: 46.1 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 74.81 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1443, allocations: 62.45 MB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004174/0.1485, allocations: 1.785 MB / 481.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1505, allocations: 1.006 MB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1507, allocations: 4 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.151, allocations: 51.83 kB / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.1514, allocations: 91.72 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1517, allocations: 55.89 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.1519, allocations: 115.6 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1521, allocations: 11.98 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1522, allocations: 43.78 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.111e-05/0.1523, allocations: 43.78 kB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1523, allocations: 4 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1524, allocations: 43.98 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.1525, allocations: 35.84 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.1526, allocations: 47.61 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1529, allocations: 135.8 kB / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1529, allocations: 0 / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1529, allocations: 0 / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1529, allocations: 0 / 483.1 MB, free: 1.992 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.00072/0.1536, allocations: 454.6 kB / 483.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.1537, allocations: 8.031 kB / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.1538, allocations: 30.75 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.1538, allocations: 20.75 kB / 483.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.1542, allocations: 223.9 kB / 483.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1542, allocations: 384 / 483.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.1542, allocations: 11.88 kB / 483.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1545, allocations: 53.67 kB / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1545, allocations: 0 / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1545, allocations: 0 / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1545, allocations: 4 kB / 483.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/0.1546, allocations: 23.98 kB / 483.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.1552, allocations: 308.7 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1554, allocations: 54.67 kB / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.1554, allocations: 20.86 kB / 484.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.1555, allocations: 3.984 kB / 484.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.1557, allocations: 67.39 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.286e-06/0.1557, allocations: 0 / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006044/0.1563, allocations: 185 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.1564, allocations: 55.39 kB / 484.6 MB, free: 312 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.1567, allocations: 288.1 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.1567, allocations: 29.7 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.1568, allocations: 116.1 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1568, allocations: 23.64 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.1569, allocations: 25.72 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.157, allocations: 330.8 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.1571, allocations: 16 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.1572, allocations: 33.7 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1573, allocations: 65.7 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1573, allocations: 0 / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002022/0.1575, allocations: 105.5 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1575, allocations: 7.984 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1576, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1576, allocations: 4 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.1577, allocations: 23.88 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1577, allocations: 32 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.1577, allocations: 12.31 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1578, allocations: 3.984 kB / 485.6 MB, free: 15.19 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.000119/0.1579, allocations: 133.8 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1579, allocations: 15.81 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.158, allocations: 21.41 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.158, allocations: 4 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.158, allocations: 4.172 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.158, allocations: 3.938 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.1585, allocations: 411.2 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1585, allocations: 4 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1585, allocations: 4 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1585, allocations: 7.938 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1586, allocations: 7.984 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.1586, allocations: 0 / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1586, allocations: 4 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.1589, allocations: 216 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.1589, allocations: 89.02 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.159, allocations: 7.938 kB / 486.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.1591, allocations: 0 / 486.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1591, allocations: 7.984 kB / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1591, allocations: 4 kB / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.1593, allocations: 216.6 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1593, allocations: 4 kB / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1596, allocations: 27.91 kB / 486.8 MB, free: 13.91 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.001575/0.1612, allocations: 1.095 MB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.1614, allocations: 59.89 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1615, allocations: 8 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.1615, allocations: 27.92 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1619, allocations: 32.05 kB / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.1646, allocations: 1.863 MB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.1651, allocations: 0.7259 MB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.974e-05/0.1652, allocations: 20.88 kB / 490.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1653, allocations: 43.42 kB / 490.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.937e-06/0.1653, allocations: 0 / 490.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.1826, allocations: 3.665 MB / 494.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.1829, allocations: 239.9 kB / 494.6 MB, free: 6.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/2.767, allocations: 0 / 494.6 MB, free: 6.242 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches