Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.00162/0.00162, allocations: 128.4 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.001995/0.001995, 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.489/1.489, allocations: 230.4 MB / 254 MB, free: 15.05 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.232/0.232, allocations: 46.92 MB / 357 MB, free: 10.23 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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 79.88 kB / 0.491 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.141, allocations: 66.05 MB / 0.5555 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00425/0.1453, allocations: 1.938 MB / 0.5574 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1472, allocations: 1.075 MB / 0.5585 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.846e-05/0.1473, allocations: 3.938 kB / 0.5585 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1476, allocations: 43.72 kB / 0.5585 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.148, allocations: 95.47 kB / 0.5586 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1482, allocations: 103.6 kB / 0.5587 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1485, allocations: 147.5 kB / 0.5588 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1486, allocations: 21.53 kB / 0.5589 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1487, allocations: 55.72 kB / 0.5589 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1488, allocations: 59.66 kB / 0.559 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1488, allocations: 8 kB / 0.559 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1489, allocations: 47.97 kB / 0.559 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.149, allocations: 27.86 kB / 0.5591 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.1491, allocations: 51.67 kB / 0.5591 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.1494, allocations: 155.2 kB / 0.5593 GB, free: 1.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1494, allocations: 0 / 0.5593 GB, free: 1.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1494, allocations: 0 / 0.5593 GB, free: 1.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1494, allocations: 4 kB / 0.5593 GB, free: 1.707 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.0007702/0.1502, allocations: 488.1 kB / 0.5597 GB, free: 1.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1502, allocations: 8.031 kB / 0.5597 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.1503, allocations: 42.73 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.1503, allocations: 16.84 kB / 0.5598 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.1507, allocations: 237.4 kB / 0.56 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1507, allocations: 4.375 kB / 0.56 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1508, allocations: 12.36 kB / 0.56 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.151, allocations: 117.7 kB / 0.5601 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.151, allocations: 0 / 0.5601 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.151, allocations: 0 / 0.5601 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.151, allocations: 4 kB / 0.5601 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1512, allocations: 51.91 kB / 0.5602 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.1519, allocations: 0.5088 MB / 0.5607 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.1522, allocations: 86.64 kB / 0.5608 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.1523, allocations: 36.78 kB / 0.5608 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1523, allocations: 4 kB / 0.5608 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.1525, allocations: 83.31 kB / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.1525, allocations: 0 / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004063/0.153, allocations: 141.5 kB / 0.561 GB, free: 15.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.153, allocations: 51.41 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1532, allocations: 214.2 kB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1532, allocations: 29.7 kB / 0.5613 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.1533, allocations: 116 kB / 0.5614 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1533, allocations: 27.75 kB / 0.5614 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.1534, allocations: 29.7 kB / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1535, allocations: 326.8 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.026e-05/0.1536, allocations: 27.98 kB / 0.5618 GB, free: 14.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.1538, allocations: 72.39 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.154, allocations: 100.1 kB / 0.562 GB, free: 14.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.154, allocations: 4 kB / 0.562 GB, free: 14.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002948/0.1543, allocations: 141.8 kB / 0.5621 GB, free: 14.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1543, allocations: 4 kB / 0.5621 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1543, allocations: 0 / 0.5621 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1543, allocations: 4 kB / 0.5621 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1544, allocations: 23.98 kB / 0.5621 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1544, allocations: 7.938 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.1545, allocations: 12.08 kB / 0.5622 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1545, allocations: 4 kB / 0.5622 GB, free: 14.43 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.0001144/0.1546, allocations: 135.6 kB / 0.5623 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.1546, allocations: 15.91 kB / 0.5623 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.1547, allocations: 17.41 kB / 0.5623 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1547, allocations: 4 kB / 0.5623 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.1547, allocations: 7.922 kB / 0.5623 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1547, allocations: 3.938 kB / 0.5623 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1549, allocations: 209.6 kB / 0.5625 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1549, allocations: 4 kB / 0.5626 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.155, allocations: 12 kB / 0.5626 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.155, allocations: 0 / 0.5626 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.155, allocations: 3.984 kB / 0.5626 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.155, allocations: 0 / 0.5626 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.155, allocations: 7.875 kB / 0.5626 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.1554, allocations: 176.9 kB / 0.5627 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.1555, allocations: 93.11 kB / 0.5628 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1555, allocations: 15.98 kB / 0.5628 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.1555, allocations: 4 kB / 0.5629 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1556, allocations: 7.922 kB / 0.5629 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1556, allocations: 4 kB / 0.5629 GB, free: 13.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.1558, allocations: 148.4 kB / 0.563 GB, free: 13.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1558, allocations: 0 / 0.563 GB, free: 13.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.156, allocations: 27.94 kB / 0.563 GB, free: 13.46 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.002142/0.1581, allocations: 1.013 MB / 0.564 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.1584, allocations: 79.78 kB / 0.5641 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.1584, allocations: 8.25 kB / 0.5641 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.1585, allocations: 31.97 kB / 0.5641 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1588, allocations: 50.16 kB / 0.5642 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.1609, allocations: 1.761 MB / 0.5659 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.1613, allocations: 0.7201 MB / 0.5666 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.024e-05/0.1613, allocations: 17.41 kB / 0.5666 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.1614, allocations: 43.42 kB / 0.5667 GB, free: 9.723 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1614, allocations: 0 / 0.5667 GB, free: 9.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.1884, allocations: 3.844 MB / 0.5704 GB, free: 5.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.037, allocations: 0 / 0.5704 GB, free: 5.938 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.409569813986309]