Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 204.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2455/0.2455, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 75.88 kB / 0.4962 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3234, allocations: 66.03 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003023/0.3264, allocations: 1.791 MB / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3283, allocations: 1.044 MB / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.3283, allocations: 0 / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.3289, allocations: 299.3 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.3294, allocations: 259.2 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.3296, allocations: 107.6 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.33, allocations: 271.2 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.33, allocations: 5.812 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3302, allocations: 131.6 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.3304, allocations: 215.9 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.3305, allocations: 8 kB / 0.5647 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.3306, allocations: 47.98 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.3307, allocations: 136.5 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3309, allocations: 111 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.3313, allocations: 380.1 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3313, allocations: 0 / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3313, allocations: 0 / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.3313, allocations: 0 / 0.5653 GB, free: 15.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001045/0.3324, allocations: 0.6747 MB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3324, allocations: 8.031 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.372e-05/0.3325, allocations: 42.69 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.3326, allocations: 48.61 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.3332, allocations: 382.6 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.3332, allocations: 4.375 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3332, allocations: 11.92 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.3334, allocations: 87.36 kB / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3334, allocations: 0 / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3334, allocations: 3.984 kB / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3334, allocations: 0 / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.3335, allocations: 35.92 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.3339, allocations: 333.5 kB / 0.5669 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.3342, allocations: 113.1 kB / 0.567 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.3343, allocations: 41.69 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.3343, allocations: 0 / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.3345, allocations: 109 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 3.437e-06/0.3345, allocations: 3.984 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004962/0.335, allocations: 213.2 kB / 0.5673 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.3351, allocations: 81.11 kB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.3362, allocations: 1.034 MB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3362, allocations: 25.7 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.3364, allocations: 240.1 kB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.3365, allocations: 23.84 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.3365, allocations: 25.72 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3367, allocations: 370.8 kB / 0.5691 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.3368, allocations: 27.98 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.3369, allocations: 70.86 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.3371, allocations: 99.84 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.3371, allocations: 3.938 kB / 0.5693 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000309/0.3374, allocations: 177.2 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3374, allocations: 8 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3374, allocations: 0 / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3374, allocations: 0 / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3375, allocations: 27.92 kB / 0.5695 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3375, allocations: 0 / 0.5695 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.483e-05/0.3376, allocations: 19.95 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3376, allocations: 7.984 kB / 0.5695 GB, free: 10.87 MB / 414.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002232/0.3379, allocations: 221.7 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.3379, allocations: 51.67 kB / 0.5698 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.3383, allocations: 205.8 kB / 0.57 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3383, allocations: 0 / 0.57 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3383, allocations: 3.938 kB / 0.57 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3383, allocations: 0 / 0.57 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.3386, allocations: 296.5 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3386, allocations: 4 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.3387, allocations: 8.25 kB / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.3387, allocations: 4 kB / 0.5703 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3387, allocations: 8 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3387, allocations: 0 / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3387, allocations: 7.984 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.339, allocations: 221.4 kB / 0.5705 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3392, allocations: 67.59 kB / 0.5705 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.3392, allocations: 7.938 kB / 0.5706 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.3393, allocations: 7.984 kB / 0.5706 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.3394, allocations: 11.98 kB / 0.5706 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.3394, allocations: 8 kB / 0.5706 GB, free: 9.676 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008247/0.3402, allocations: 0.7682 MB / 0.5713 GB, free: 8.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3402, allocations: 0 / 0.5713 GB, free: 8.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3405, allocations: 44 kB / 0.5714 GB, free: 8.867 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002235/0.3427, allocations: 1.092 MB / 0.5724 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.343, allocations: 83.95 kB / 0.5725 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.343, allocations: 4.062 kB / 0.5725 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3431, allocations: 47.86 kB / 0.5726 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.3436, allocations: 71.33 kB / 0.5726 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.3493, allocations: 4.491 MB / 0.577 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.3496, allocations: 245.7 kB / 0.5773 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.3497, allocations: 58.94 kB / 0.5773 GB, free: 2.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.3499, allocations: 147.4 kB / 0.5775 GB, free: 2.672 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3499, allocations: 0 / 0.5775 GB, free: 2.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.3871, allocations: 9.873 MB / 0.5871 GB, free: 8.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 5.875 kB / 0.5871 GB, free: 8.871 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 14.524787886999547]