Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 110.8 kB / 17.33 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 241.9 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 44.18 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 64.86 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1361, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004133/0.1403, allocations: 1.932 MB / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1422, allocations: 0.9744 MB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1424, allocations: 3.938 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.1428, allocations: 155.6 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.1433, allocations: 127.6 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.1438, allocations: 158.2 kB / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.1441, allocations: 231.4 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1443, allocations: 29.64 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1445, allocations: 107.5 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1447, allocations: 139.5 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.1447, allocations: 8 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1449, allocations: 63.92 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.145, allocations: 47.83 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.538e-05/0.1451, allocations: 83.41 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.1454, allocations: 207.6 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1454, allocations: 0 / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1454, allocations: 0 / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.1454, allocations: 0 / 473.1 MB, free: 10.35 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.0007143/0.1461, allocations: 0.5332 MB / 473.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1462, allocations: 8.031 kB / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.1462, allocations: 38.75 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.1463, allocations: 24.64 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1466, allocations: 267.6 kB / 473.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1466, allocations: 8.312 kB / 473.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1467, allocations: 15.88 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.1469, allocations: 110.2 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1469, allocations: 4 kB / 474.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1469, allocations: 4 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.1469, allocations: 4 kB / 474.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1471, allocations: 43.95 kB / 474.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.1476, allocations: 464.7 kB / 474.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.148, allocations: 125.2 kB / 474.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/0.1481, allocations: 45.83 kB / 474.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1481, allocations: 4 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.1484, allocations: 124.9 kB / 474.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1484, allocations: 4 kB / 474.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001275/0.1497, allocations: 489 kB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.1498, allocations: 81.11 kB / 475.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.1501, allocations: 359 kB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1501, allocations: 29.7 kB / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.1502, allocations: 144.5 kB / 476 MB, free: 7.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.1503, allocations: 71.09 kB / 476 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.1504, allocations: 41.7 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1505, allocations: 338.8 kB / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1506, allocations: 55.97 kB / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1508, allocations: 103.3 kB / 476.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.151, allocations: 159.3 kB / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.151, allocations: 0 / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003702/0.1514, allocations: 233.3 kB / 476.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1514, allocations: 12.06 kB / 476.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1515, allocations: 0 / 476.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1515, allocations: 4 kB / 476.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1516, allocations: 39.92 kB / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.1516, allocations: 4 kB / 477 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.1517, allocations: 11.98 kB / 477 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1517, allocations: 8 kB / 477 MB, free: 6.121 MB / 350.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.0001377/0.1519, allocations: 162.3 kB / 477.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.1519, allocations: 35.56 kB / 477.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/0.152, allocations: 33.73 kB / 477.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.152, allocations: 4 kB / 477.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.152, allocations: 0 / 477.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.152, allocations: 3.984 kB / 477.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/0.1529, allocations: 0.7154 MB / 478 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1529, allocations: 4 kB / 478 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.153, allocations: 31.98 kB / 478 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.153, allocations: 0 / 478 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.153, allocations: 11.98 kB / 478 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.153, allocations: 0 / 478 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.153, allocations: 11.88 kB / 478 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.1535, allocations: 412.4 kB / 478.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.1536, allocations: 100.7 kB / 478.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.1536, allocations: 8 kB / 478.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.1538, allocations: 15.98 kB / 478.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.1538, allocations: 27.86 kB / 478.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.1538, allocations: 8 kB / 478.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.1541, allocations: 265.9 kB / 478.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1541, allocations: 0 / 478.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.1545, allocations: 51.98 kB / 478.9 MB, free: 4.117 MB / 350.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.001809/0.1563, allocations: 1.35 MB / 480.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.1567, allocations: 175.7 kB / 480.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1567, allocations: 0 / 480.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1568, allocations: 83.84 kB / 480.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.1574, allocations: 59.53 kB / 480.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.1606, allocations: 2.714 MB / 483.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.161, allocations: 0.7597 MB / 484 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.1611, allocations: 41.92 kB / 484.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1613, allocations: 91.39 kB / 484.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1613, allocations: 0 / 484.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.1786, allocations: 5.726 MB / 489.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.1788, allocations: 235.1 kB / 490.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.074, allocations: 3.938 kB / 490.1 MB, free: 9.027 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches