Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001258/0.001258, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001399/0.001399, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.17 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.2959/0.2959, allocations: 46.92 MB / 357 MB, free: 10.2 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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 79.88 kB / 0.491 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1439, allocations: 66.06 MB / 0.5555 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003885/0.1478, allocations: 1.933 MB / 0.5574 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1499, allocations: 1.067 MB / 0.5585 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.1501, allocations: 7.938 kB / 0.5585 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.1504, allocations: 47.69 kB / 0.5585 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.1508, allocations: 99.48 kB / 0.5586 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1512, allocations: 99.64 kB / 0.5587 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.1515, allocations: 147.5 kB / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1516, allocations: 17.55 kB / 0.5589 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.1518, allocations: 59.72 kB / 0.5589 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1519, allocations: 55.64 kB / 0.559 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.152, allocations: 8 kB / 0.559 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.1521, allocations: 47.98 kB / 0.559 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.4e-05/0.1522, allocations: 27.86 kB / 0.5591 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.383e-05/0.1523, allocations: 59.66 kB / 0.5591 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.1528, allocations: 151.3 kB / 0.5593 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1528, allocations: 0 / 0.5593 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1528, allocations: 0 / 0.5593 GB, free: 1.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1528, allocations: 0 / 0.5593 GB, free: 1.617 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.0009413/0.1537, allocations: 492.1 kB / 0.5597 GB, free: 1.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1538, allocations: 8.031 kB / 0.5597 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.1538, allocations: 34.73 kB / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.1539, allocations: 20.84 kB / 0.5598 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.1543, allocations: 241.4 kB / 0.56 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1543, allocations: 4.375 kB / 0.56 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.1543, allocations: 8.375 kB / 0.56 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.1546, allocations: 110.2 kB / 0.5601 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1546, allocations: 4 kB / 0.5601 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1546, allocations: 0 / 0.5601 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1547, allocations: 7.938 kB / 0.5601 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.1548, allocations: 51.91 kB / 0.5602 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.1555, allocations: 0.5088 MB / 0.5607 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.1559, allocations: 82.67 kB / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.156, allocations: 40.83 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.156, allocations: 0 / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.1562, allocations: 83.31 kB / 0.5609 GB, free: 15.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1562, allocations: 4 kB / 0.5609 GB, free: 15.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004219/0.1567, allocations: 141.5 kB / 0.561 GB, free: 15.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.1567, allocations: 51.41 kB / 0.5611 GB, free: 15.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1569, allocations: 206.2 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.157, allocations: 33.7 kB / 0.5613 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.157, allocations: 112 kB / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.1571, allocations: 35.73 kB / 0.5614 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.1571, allocations: 33.72 kB / 0.5615 GB, free: 15.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1573, allocations: 322.8 kB / 0.5618 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.1574, allocations: 31.97 kB / 0.5618 GB, free: 14.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1575, allocations: 68.41 kB / 0.5619 GB, free: 14.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.1577, allocations: 100.5 kB / 0.562 GB, free: 14.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1577, allocations: 0 / 0.562 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002964/0.158, allocations: 141.4 kB / 0.5621 GB, free: 14.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.158, allocations: 14 kB / 0.5621 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.158, allocations: 0 / 0.5621 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.158, allocations: 0 / 0.5621 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1581, allocations: 23.98 kB / 0.5622 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.1581, allocations: 11.88 kB / 0.5622 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.1582, allocations: 7.953 kB / 0.5622 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1582, allocations: 4 kB / 0.5622 GB, free: 14.34 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.0001357/0.1584, allocations: 133.8 kB / 0.5623 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1584, allocations: 15.91 kB / 0.5623 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.1585, allocations: 25.39 kB / 0.5623 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1585, allocations: 0 / 0.5623 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1585, allocations: 3.938 kB / 0.5623 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1585, allocations: 3.938 kB / 0.5623 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.1587, allocations: 213.6 kB / 0.5626 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1587, allocations: 0 / 0.5626 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.1588, allocations: 11.98 kB / 0.5626 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1588, allocations: 0 / 0.5626 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1588, allocations: 4 kB / 0.5626 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1588, allocations: 3.938 kB / 0.5626 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1588, allocations: 7.938 kB / 0.5626 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1592, allocations: 176.9 kB / 0.5627 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.1593, allocations: 93.03 kB / 0.5628 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.1593, allocations: 4 kB / 0.5628 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.105e-05/0.1594, allocations: 4 kB / 0.5628 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.1594, allocations: 11.92 kB / 0.5629 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.1594, allocations: 16.06 kB / 0.5629 GB, free: 13.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1596, allocations: 140.4 kB / 0.563 GB, free: 13.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1596, allocations: 192 / 0.563 GB, free: 13.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1598, allocations: 27.94 kB / 0.563 GB, free: 13.37 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.002181/0.162, allocations: 1.017 MB / 0.564 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.1623, allocations: 83.77 kB / 0.5641 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1623, allocations: 0 / 0.5641 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1624, allocations: 27.98 kB / 0.5641 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1627, allocations: 43.66 kB / 0.5642 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.165, allocations: 1.772 MB / 0.5659 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.1654, allocations: 0.7162 MB / 0.5666 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.951e-05/0.1655, allocations: 17.42 kB / 0.5666 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.1655, allocations: 43.41 kB / 0.5667 GB, free: 9.633 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1655, allocations: 4 kB / 0.5667 GB, free: 9.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.197, allocations: 3.841 MB / 0.5704 GB, free: 5.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.258, allocations: 3.375 kB / 0.5704 GB, free: 5.848 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_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_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.505429687094875]