Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002275, allocations: 73.44 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1402, allocations: 62.45 MB / 479.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004288/0.1446, allocations: 1.98 MB / 481.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.1468, allocations: 1.099 MB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.147, allocations: 4 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.1475, allocations: 247.4 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006015/0.1482, allocations: 211.4 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.1486, allocations: 99.77 kB / 483.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004799/0.1491, allocations: 271.2 kB / 483.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1493, allocations: 41.64 kB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.1496, allocations: 131.5 kB / 483.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.1499, allocations: 195.4 kB / 483.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.15, allocations: 12 kB / 483.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.1501, allocations: 59.97 kB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1502, allocations: 67.7 kB / 484 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1504, allocations: 103.2 kB / 484.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.1508, allocations: 251.4 kB / 484.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1508, allocations: 0 / 484.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1508, allocations: 0 / 484.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.1508, allocations: 0 / 484.3 MB, free: 0.7109 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008894/0.1517, allocations: 0.5835 MB / 484.9 MB, free: 80 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1518, allocations: 11.97 kB / 484.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.1518, allocations: 38.75 kB / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.1519, allocations: 32.61 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.1523, allocations: 290.4 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1523, allocations: 4.375 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.1524, allocations: 15.92 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.1527, allocations: 103.3 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1527, allocations: 15.89 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1527, allocations: 4 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1527, allocations: 0 / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.1529, allocations: 47.97 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.1535, allocations: 484.6 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.1539, allocations: 125.2 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.154, allocations: 45.83 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1541, allocations: 4 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.1544, allocations: 120.4 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.1544, allocations: 0 / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001378/0.1558, allocations: 0.5076 MB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1558, allocations: 81.11 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.1563, allocations: 0.4899 MB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1564, allocations: 33.7 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1565, allocations: 168.5 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.1566, allocations: 74.98 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.1566, allocations: 41.7 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1568, allocations: 346.8 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1569, allocations: 55.98 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.157, allocations: 95.39 kB / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1573, allocations: 155.5 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1573, allocations: 0 / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004368/0.1578, allocations: 256.8 kB / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1578, allocations: 6.5 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1578, allocations: 0 / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1578, allocations: 4 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.158, allocations: 39.98 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.158, allocations: 3.938 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-05/0.1581, allocations: 11.98 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.1581, allocations: 12 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001844/0.1583, allocations: 174.3 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.1584, allocations: 39.56 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.272e-05/0.1585, allocations: 47.81 kB / 488.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1585, allocations: 4 kB / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1585, allocations: 0 / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1585, allocations: 3.938 kB / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.1595, allocations: 0.739 MB / 489.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1595, allocations: 0 / 489.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1596, allocations: 35.92 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.1597, allocations: 4 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.1597, allocations: 7.984 kB / 489.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1597, allocations: 0 / 489.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.1597, allocations: 7.938 kB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.1602, allocations: 424.8 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.1603, allocations: 108.7 kB / 490.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.1604, allocations: 8 kB / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1605, allocations: 11.98 kB / 490.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.1606, allocations: 23.86 kB / 490.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.1606, allocations: 8.188 kB / 490.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003732/0.161, allocations: 375.1 kB / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.161, allocations: 7.875 kB / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.1614, allocations: 51.98 kB / 490.6 MB, free: 9.984 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001855/0.1633, allocations: 1.362 MB / 492 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.1636, allocations: 167.7 kB / 492.2 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1636, allocations: 0 / 492.2 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1638, allocations: 83.84 kB / 492.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.1644, allocations: 66.7 kB / 492.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.168, allocations: 3.08 MB / 495.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1683, allocations: 0.7869 MB / 496.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.1685, allocations: 33.94 kB / 496.2 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.1686, allocations: 111.4 kB / 496.3 MB, free: 4.305 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1686, allocations: 0 / 496.3 MB, free: 4.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.1885, allocations: 6.409 MB / 0.491 GB, free: 14.01 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003854/0.1889, allocations: 248 kB / 0.4912 GB, free: 13.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.033, allocations: 0 / 0.4912 GB, free: 13.75 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches