Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.00137/0.00137, 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.001418/0.001418, allocations: 209.1 kB / 23.73 MB, free: 4.387 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2332/0.2332, allocations: 46.97 MB / 360.9 MB, free: 4.051 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 72.14 kB / 0.4962 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003486/0.3285, allocations: 1.79 MB / 0.5624 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.3305, allocations: 1.05 MB / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.3305, allocations: 0 / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.3311, allocations: 303.3 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.3316, allocations: 267.2 kB / 0.564 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.3318, allocations: 107.6 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.3321, allocations: 263.3 kB / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.3322, allocations: 9.812 kB / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.3324, allocations: 131.5 kB / 0.5644 GB, free: 316 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.3326, allocations: 219.4 kB / 0.5647 GB, free: 96 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3327, allocations: 12 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3328, allocations: 51.97 kB / 0.5647 GB, free: 32 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.333, allocations: 139.7 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.3331, allocations: 111 kB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.3336, allocations: 387.9 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3336, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3336, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3336, allocations: 0 / 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.001067/0.3346, allocations: 0.6864 MB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3347, allocations: 8.031 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.3347, allocations: 42.69 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.3348, allocations: 52.61 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.3354, allocations: 386.5 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3355, allocations: 4.375 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3355, allocations: 11.92 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.3357, allocations: 83.38 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3357, allocations: 3.984 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3357, allocations: 0 / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3357, allocations: 4 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.3359, allocations: 35.92 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.3363, allocations: 345.4 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.3366, allocations: 113.1 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.3367, allocations: 37.7 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.3367, allocations: 0 / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.337, allocations: 116.9 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.337, allocations: 4 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005244/0.3376, allocations: 209.2 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.3376, allocations: 81.11 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.3389, allocations: 1.058 MB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3389, allocations: 29.7 kB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.3391, allocations: 240.1 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.3391, allocations: 27.8 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.3392, allocations: 33.7 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002699/0.3395, allocations: 366.8 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.3396, allocations: 32.48 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.3397, allocations: 67.41 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3399, allocations: 95.34 kB / 0.5694 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3399, allocations: 3.938 kB / 0.5694 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003282/0.3402, allocations: 173.2 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3402, allocations: 7.984 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3402, allocations: 0 / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3403, allocations: 8.062 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3404, allocations: 19.94 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3404, allocations: 7.984 kB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.3405, allocations: 11.94 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.3405, allocations: 4 kB / 0.5696 GB, free: 10.79 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.0002501/0.3408, allocations: 229.6 kB / 0.5698 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.3408, allocations: 55.62 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.3413, allocations: 197.9 kB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3413, allocations: 0 / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3413, allocations: 8.188 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3413, allocations: 4 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.3416, allocations: 304.5 kB / 0.5703 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3416, allocations: 0 / 0.5703 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.3416, allocations: 8 kB / 0.5703 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3416, allocations: 0 / 0.5703 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3416, allocations: 7.938 kB / 0.5704 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3417, allocations: 0 / 0.5704 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3417, allocations: 0 / 0.5704 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.342, allocations: 233.4 kB / 0.5706 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.3422, allocations: 71.59 kB / 0.5706 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.3422, allocations: 4 kB / 0.5707 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.3423, allocations: 7.984 kB / 0.5707 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3424, allocations: 7.984 kB / 0.5707 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3424, allocations: 7.938 kB / 0.5707 GB, free: 9.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009176/0.3433, allocations: 0.7956 MB / 0.5715 GB, free: 8.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3433, allocations: 0 / 0.5715 GB, free: 8.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3436, allocations: 43.98 kB / 0.5715 GB, free: 8.75 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.002221/0.3458, allocations: 1.099 MB / 0.5726 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.3461, allocations: 87.83 kB / 0.5726 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3461, allocations: 0 / 0.5726 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.3462, allocations: 39.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.0004436/0.3466, allocations: 82.75 kB / 0.5728 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.3524, allocations: 4.582 MB / 0.5772 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3527, allocations: 245.8 kB / 0.5775 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.3528, allocations: 59.39 kB / 0.5775 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.353, allocations: 147.4 kB / 0.5777 GB, free: 2.445 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.353, allocations: 4 kB / 0.5777 GB, free: 2.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/0.3921, allocations: 10.03 MB / 0.5875 GB, free: 8.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.35, allocations: 9.438 kB / 0.5875 GB, free: 8.488 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.35723740598769]