Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.00201/0.00201, allocations: 127 kB / 17.8 MB, free: 5.262 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.002272/0.002272, allocations: 214.5 kB / 20.75 MB, free: 2.309 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.506/1.506, allocations: 230.4 MB / 254 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.2394/0.2394, allocations: 46.92 MB / 357 MB, free: 10.19 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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 83.88 kB / 0.491 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1478, allocations: 66.05 MB / 0.5555 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00349/0.1513, allocations: 1.938 MB / 0.5574 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1531, allocations: 1.071 MB / 0.5585 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.1532, allocations: 3.938 kB / 0.5585 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.1535, allocations: 47.7 kB / 0.5585 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.1539, allocations: 95.47 kB / 0.5586 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.1541, allocations: 91.72 kB / 0.5587 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1543, allocations: 151.5 kB / 0.5588 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1544, allocations: 25.55 kB / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1546, allocations: 59.72 kB / 0.5589 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1547, allocations: 55.69 kB / 0.559 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1547, allocations: 8 kB / 0.559 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.1548, allocations: 43.98 kB / 0.559 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.1548, allocations: 31.8 kB / 0.5591 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.1549, allocations: 55.66 kB / 0.5591 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.1552, allocations: 143.3 kB / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1552, allocations: 0 / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1552, allocations: 0 / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1552, allocations: 4 kB / 0.5593 GB, free: 1.645 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006995/0.1559, allocations: 0.4922 MB / 0.5597 GB, free: 1.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1559, allocations: 8.031 kB / 0.5597 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.156, allocations: 38.75 kB / 0.5598 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.156, allocations: 16.84 kB / 0.5598 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1564, allocations: 225.5 kB / 0.56 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1564, allocations: 8.359 kB / 0.56 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.1564, allocations: 12.38 kB / 0.56 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.1566, allocations: 113.4 kB / 0.5601 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1567, allocations: 3.938 kB / 0.5601 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1567, allocations: 7.984 kB / 0.5602 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.1567, allocations: 4 kB / 0.5602 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.1568, allocations: 43.91 kB / 0.5602 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006353/0.1575, allocations: 0.5049 MB / 0.5607 GB, free: 0 / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.1578, allocations: 90.59 kB / 0.5608 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.1579, allocations: 40.83 kB / 0.5608 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1579, allocations: 0 / 0.5608 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.1581, allocations: 83.38 kB / 0.5609 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1581, allocations: 3.938 kB / 0.5609 GB, free: 15.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004104/0.1585, allocations: 133.5 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.1586, allocations: 67.33 kB / 0.5611 GB, free: 15.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.1588, allocations: 198.2 kB / 0.5613 GB, free: 15.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1588, allocations: 33.7 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.1589, allocations: 116 kB / 0.5614 GB, free: 15.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.159, allocations: 35.73 kB / 0.5615 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.159, allocations: 25.72 kB / 0.5615 GB, free: 15.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1592, allocations: 326.8 kB / 0.5618 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.983e-05/0.1593, allocations: 31.98 kB / 0.5618 GB, free: 14.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.1594, allocations: 74.77 kB / 0.5619 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1596, allocations: 92.59 kB / 0.562 GB, free: 14.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1596, allocations: 0 / 0.562 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002848/0.1599, allocations: 141.4 kB / 0.5621 GB, free: 14.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1599, allocations: 9.719 kB / 0.5621 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1599, allocations: 3.938 kB / 0.5621 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1599, allocations: 4 kB / 0.5621 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.16, allocations: 20.11 kB / 0.5622 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.16, allocations: 11.94 kB / 0.5622 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.1601, allocations: 11.94 kB / 0.5622 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1601, allocations: 4 kB / 0.5622 GB, free: 14.36 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001191/0.1602, allocations: 129.7 kB / 0.5623 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1602, allocations: 15.91 kB / 0.5623 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.1603, allocations: 21.39 kB / 0.5623 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1603, allocations: 7.984 kB / 0.5623 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1603, allocations: 3.938 kB / 0.5624 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1603, allocations: 7.938 kB / 0.5624 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1605, allocations: 209.6 kB / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1605, allocations: 0 / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.1606, allocations: 11.98 kB / 0.5626 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1606, allocations: 4 kB / 0.5626 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1606, allocations: 0 / 0.5626 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1606, allocations: 0 / 0.5626 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1606, allocations: 3.938 kB / 0.5626 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.161, allocations: 184.9 kB / 0.5628 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.1611, allocations: 93.05 kB / 0.5628 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1611, allocations: 4 kB / 0.5628 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.1612, allocations: 7.984 kB / 0.5629 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1612, allocations: 3.938 kB / 0.5629 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.1612, allocations: 12.19 kB / 0.5629 GB, free: 13.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1614, allocations: 148.4 kB / 0.563 GB, free: 13.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1614, allocations: 3.938 kB / 0.563 GB, free: 13.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1616, allocations: 31.98 kB / 0.563 GB, free: 13.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002047/0.1637, allocations: 1.005 MB / 0.564 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1639, allocations: 83.83 kB / 0.5641 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1639, allocations: 0 / 0.5641 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.164, allocations: 39.92 kB / 0.5641 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.1643, allocations: 39.66 kB / 0.5642 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.1665, allocations: 1.761 MB / 0.5659 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1669, allocations: 0.724 MB / 0.5666 GB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.862e-05/0.1669, allocations: 17.42 kB / 0.5666 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/0.167, allocations: 43.42 kB / 0.5667 GB, free: 9.652 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.167, allocations: 0 / 0.5667 GB, free: 9.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.1955, allocations: 3.833 MB / 0.5704 GB, free: 5.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.086, allocations: 9.984 kB / 0.5704 GB, free: 5.871 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.375157425994985]