Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 120.2 kB / 18.5 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 222.2 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.93 MB / 357.7 MB, free: 10.14 MB / 286.1 MB " [Timeout remaining time 180] 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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 75.89 kB / 0.4918 GB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1398, allocations: 66.04 MB / 0.5562 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003429/0.1432, allocations: 1.935 MB / 0.5581 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1451, allocations: 1.139 MB / 0.5592 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.1452, allocations: 0 / 0.5592 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004231/0.1456, allocations: 167.5 kB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.146, allocations: 187.2 kB / 0.5596 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1463, allocations: 111.7 kB / 0.5597 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.1466, allocations: 251.2 kB / 0.5599 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1468, allocations: 13.69 kB / 0.5599 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.1469, allocations: 119.5 kB / 0.5601 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1471, allocations: 155.4 kB / 0.5602 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.1472, allocations: 8 kB / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1473, allocations: 59.98 kB / 0.5603 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.1474, allocations: 47.83 kB / 0.5603 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1475, allocations: 87.3 kB / 0.5604 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.1478, allocations: 234.9 kB / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1478, allocations: 0 / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1478, allocations: 0 / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1478, allocations: 0 / 0.5606 GB, free: 0.875 MB / 414.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.0007605/0.1486, allocations: 0.5446 MB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1486, allocations: 8.031 kB / 0.5612 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.499e-05/0.1486, allocations: 192 / 0.5612 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.1487, allocations: 42.69 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.1487, allocations: 28.75 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.1491, allocations: 283.7 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1491, allocations: 12.38 kB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1492, allocations: 4.375 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.1494, allocations: 115.2 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1494, allocations: 0 / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1494, allocations: 8 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1494, allocations: 3.984 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.1496, allocations: 39.97 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.1502, allocations: 476.8 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.1505, allocations: 117.2 kB / 0.5622 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1506, allocations: 45.81 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1507, allocations: 8 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.1509, allocations: 117 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.1509, allocations: 0 / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001308/0.1522, allocations: 497.7 kB / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.1523, allocations: 81.11 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.1527, allocations: 375.3 kB / 0.5633 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1527, allocations: 33.64 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1528, allocations: 144.5 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.1529, allocations: 83.36 kB / 0.5636 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.153, allocations: 41.7 kB / 0.5636 GB, free: 13.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1532, allocations: 342.8 kB / 0.5639 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1533, allocations: 55.97 kB / 0.564 GB, free: 13.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1534, allocations: 91.34 kB / 0.5641 GB, free: 13.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.1537, allocations: 167.5 kB / 0.5642 GB, free: 12.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1537, allocations: 0 / 0.5642 GB, free: 12.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004088/0.1541, allocations: 229.3 kB / 0.5645 GB, free: 12.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1542, allocations: 7.938 kB / 0.5645 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1542, allocations: 4 kB / 0.5645 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1542, allocations: 0 / 0.5645 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1543, allocations: 47.91 kB / 0.5645 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1543, allocations: 8 kB / 0.5645 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.1544, allocations: 8 kB / 0.5645 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1544, allocations: 16.06 kB / 0.5645 GB, free: 12.57 MB / 430.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.0001592/0.1546, allocations: 153.8 kB / 0.5647 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.1547, allocations: 35.75 kB / 0.5647 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.1547, allocations: 33.83 kB / 0.5648 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1547, allocations: 7.984 kB / 0.5648 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1547, allocations: 0 / 0.5648 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1547, allocations: 4 kB / 0.5648 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009503/0.1557, allocations: 0.7233 MB / 0.5655 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1557, allocations: 0 / 0.5655 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.1558, allocations: 31.92 kB / 0.5655 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1558, allocations: 4 kB / 0.5655 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1558, allocations: 8 kB / 0.5655 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1558, allocations: 0 / 0.5655 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1558, allocations: 8.125 kB / 0.5655 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.1563, allocations: 422 kB / 0.5659 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.1564, allocations: 104.9 kB / 0.566 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.1564, allocations: 8 kB / 0.566 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1566, allocations: 11.98 kB / 0.566 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.1566, allocations: 19.92 kB / 0.5661 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.1567, allocations: 15.98 kB / 0.5661 GB, free: 10.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.157, allocations: 273.9 kB / 0.5663 GB, free: 10.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.157, allocations: 0 / 0.5663 GB, free: 10.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.1573, allocations: 47.94 kB / 0.5664 GB, free: 10.55 MB / 430.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.002735/0.16, allocations: 1.362 MB / 0.5677 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.1604, allocations: 159.8 kB / 0.5679 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1604, allocations: 0 / 0.5679 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1605, allocations: 75.83 kB / 0.5679 GB, free: 9.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.1611, allocations: 52.78 kB / 0.568 GB, free: 9.059 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.1645, allocations: 2.721 MB / 0.5706 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1649, allocations: 0.7636 MB / 0.5714 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.165, allocations: 45.91 kB / 0.5714 GB, free: 5.379 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.1652, allocations: 87.41 kB / 0.5715 GB, free: 5.293 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1652, allocations: 0 / 0.5715 GB, free: 5.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.1871, allocations: 6.171 MB / 0.5775 GB, free: 15.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/8.512, allocations: 10.89 kB / 0.5776 GB, free: 15.19 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.534581665997393]