Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001753/0.001753, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002147/0.002147, allocations: 206.9 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.484/1.484, 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.2269/0.2269, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.89 kB / 0.4962 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3411, allocations: 66.03 MB / 0.5606 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004077/0.3452, allocations: 1.794 MB / 0.5624 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.3479, allocations: 1.046 MB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.3481, allocations: 4 kB / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000746/0.3488, allocations: 299.3 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007383/0.3496, allocations: 267.2 kB / 0.564 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.3499, allocations: 107.6 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.3503, allocations: 263.3 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.3503, allocations: 9.812 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.3505, allocations: 127.6 kB / 0.5644 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.3508, allocations: 223.4 kB / 0.5647 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.3509, allocations: 8 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.351, allocations: 48.06 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.3512, allocations: 143.5 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3513, allocations: 111 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.3518, allocations: 388 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3518, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3518, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3518, allocations: 0 / 0.5653 GB, free: 15.35 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.001101/0.3529, allocations: 0.6825 MB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3529, allocations: 12.03 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.353, allocations: 34.75 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.66e-05/0.3531, allocations: 52.61 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.3538, allocations: 394.5 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3538, allocations: 4.359 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.3538, allocations: 15.88 kB / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.3541, allocations: 87.36 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3541, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3541, allocations: 4 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3541, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.3542, allocations: 39.91 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.3546, allocations: 333.4 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.3549, allocations: 113.1 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.355, allocations: 33.7 kB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.355, allocations: 8 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.3552, allocations: 113 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3552, allocations: 0 / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005182/0.3558, allocations: 205.2 kB / 0.5674 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.3558, allocations: 89.05 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.3574, allocations: 1.058 MB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3574, allocations: 29.7 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.3577, allocations: 240.1 kB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.3578, allocations: 27.8 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.3578, allocations: 33.7 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.3581, allocations: 370.8 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.3581, allocations: 31.98 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3583, allocations: 59.91 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.3585, allocations: 99.34 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3585, allocations: 3.938 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003163/0.3588, allocations: 177.2 kB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3588, allocations: 8 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3588, allocations: 0 / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3588, allocations: 0 / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.359, allocations: 27.92 kB / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.359, allocations: 0 / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.3591, allocations: 11.94 kB / 0.5696 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3591, allocations: 4 kB / 0.5696 GB, free: 10.75 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.0002571/0.3593, allocations: 229.7 kB / 0.5698 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.3594, allocations: 55.62 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.3598, allocations: 209.8 kB / 0.57 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3598, allocations: 0 / 0.57 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3598, allocations: 3.938 kB / 0.57 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3598, allocations: 4.234 kB / 0.5701 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3602, allocations: 292.5 kB / 0.5703 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3602, allocations: 8 kB / 0.5703 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.3602, allocations: 11.94 kB / 0.5703 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3602, allocations: 0 / 0.5703 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3603, allocations: 4 kB / 0.5704 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3603, allocations: 0 / 0.5704 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3603, allocations: 4 kB / 0.5704 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.3606, allocations: 225.5 kB / 0.5706 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.3608, allocations: 63.59 kB / 0.5706 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.3608, allocations: 8 kB / 0.5706 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.3609, allocations: 7.984 kB / 0.5706 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.361, allocations: 11.92 kB / 0.5707 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.361, allocations: 7.938 kB / 0.5707 GB, free: 9.539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009059/0.3619, allocations: 0.7917 MB / 0.5714 GB, free: 8.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3619, allocations: 0 / 0.5714 GB, free: 8.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000293/0.3622, allocations: 55.92 kB / 0.5715 GB, free: 8.695 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.002295/0.3645, allocations: 1.095 MB / 0.5726 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3647, allocations: 87.89 kB / 0.5726 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3647, allocations: 0 / 0.5726 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3648, allocations: 35.98 kB / 0.5727 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.3653, allocations: 75.02 kB / 0.5728 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006155/0.3715, allocations: 4.594 MB / 0.5772 GB, free: 2.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3717, allocations: 241.8 kB / 0.5775 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.3719, allocations: 63.42 kB / 0.5775 GB, free: 2.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.3721, allocations: 151.4 kB / 0.5777 GB, free: 2.391 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3721, allocations: 0 / 0.5777 GB, free: 2.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.4117, allocations: 9.999 MB / 0.5874 GB, free: 8.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.93, allocations: 11.02 kB / 0.5874 GB, free: 8.477 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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: 15.104030658025295]