Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001802/0.001802, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002154/0.002154, allocations: 206 kB / 23.73 MB, free: 4.523 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.226/0.226, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 0.4962 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3254, allocations: 66.04 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003172/0.3286, allocations: 1.78 MB / 0.5624 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3305, allocations: 1.052 MB / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.3306, allocations: 0 / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.3312, allocations: 311.2 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.3317, allocations: 263.2 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3319, allocations: 107.7 kB / 0.5641 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.3322, allocations: 263.3 kB / 0.5643 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.985e-05/0.3323, allocations: 5.812 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.3325, allocations: 135.5 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.3327, allocations: 223.4 kB / 0.5647 GB, free: 96 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.3328, allocations: 12 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3329, allocations: 43.98 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.3331, allocations: 147.5 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3332, allocations: 103.1 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.3337, allocations: 388 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3337, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3337, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.3337, allocations: 4 kB / 0.5653 GB, free: 15.41 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.001062/0.3347, allocations: 0.6863 MB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3348, allocations: 8.031 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.3348, allocations: 38.75 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.3349, allocations: 48.61 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/0.3356, allocations: 394.5 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3356, allocations: 8.359 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3356, allocations: 7.938 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3358, allocations: 87.3 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3358, allocations: 7.938 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3358, allocations: 0 / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3359, allocations: 4 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.336, allocations: 35.98 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.3364, allocations: 337.4 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.3367, allocations: 113.1 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.3368, allocations: 37.7 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.3368, allocations: 4 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.337, allocations: 112.9 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.337, allocations: 4 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005232/0.3375, allocations: 209.2 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.3376, allocations: 77.11 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.3389, allocations: 1.062 MB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3389, allocations: 29.7 kB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3391, allocations: 240.1 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.3392, allocations: 23.81 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.3392, allocations: 29.7 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3394, allocations: 370.8 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.344e-05/0.3395, allocations: 35.98 kB / 0.5692 GB, free: 11.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3396, allocations: 59.41 kB / 0.5693 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.3398, allocations: 95.34 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3398, allocations: 3.938 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003171/0.3401, allocations: 177.7 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3402, allocations: 7.984 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3402, allocations: 4.125 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3402, allocations: 4.062 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3403, allocations: 24 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3403, allocations: 3.984 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.813e-05/0.3404, allocations: 7.938 kB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3404, allocations: 4 kB / 0.5696 GB, free: 10.8 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.000241/0.3407, allocations: 229.6 kB / 0.5698 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.3407, allocations: 55.62 kB / 0.5698 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.3411, allocations: 201.8 kB / 0.57 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3411, allocations: 8 kB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3412, allocations: 0 / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3412, allocations: 0 / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.3415, allocations: 308.4 kB / 0.5703 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3415, allocations: 0 / 0.5703 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.3415, allocations: 12 kB / 0.5703 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3415, allocations: 0 / 0.5703 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3416, allocations: 4 kB / 0.5704 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3416, allocations: 4 kB / 0.5704 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3416, allocations: 0 / 0.5704 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.3419, allocations: 221.4 kB / 0.5706 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3421, allocations: 75.53 kB / 0.5706 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.3421, allocations: 8 kB / 0.5706 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.3422, allocations: 7.984 kB / 0.5707 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.3423, allocations: 11.98 kB / 0.5707 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.3423, allocations: 4 kB / 0.5707 GB, free: 9.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008954/0.3432, allocations: 0.7878 MB / 0.5714 GB, free: 8.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3432, allocations: 0 / 0.5714 GB, free: 8.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3435, allocations: 47.98 kB / 0.5715 GB, free: 8.762 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.002217/0.3457, allocations: 1.103 MB / 0.5726 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.3459, allocations: 83.89 kB / 0.5726 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3459, allocations: 3.938 kB / 0.5726 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3461, allocations: 47.92 kB / 0.5727 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.3465, allocations: 79.19 kB / 0.5728 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/0.3523, allocations: 4.59 MB / 0.5772 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3526, allocations: 241.8 kB / 0.5775 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.3527, allocations: 54.95 kB / 0.5775 GB, free: 2.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.3529, allocations: 155.4 kB / 0.5777 GB, free: 2.445 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3529, allocations: 0 / 0.5777 GB, free: 2.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.3909, allocations: 10.03 MB / 0.5875 GB, free: 8.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.49, allocations: 7.031 kB / 0.5875 GB, free: 8.492 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_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_Test70.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.532713285007048]