Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001412/0.001412, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001601/0.001601, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2264/0.2264, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 71.89 kB / 0.4962 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3438, allocations: 66.03 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003462/0.3472, allocations: 1.837 MB / 0.5625 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.3501, allocations: 1.805 MB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.3502, allocations: 7.938 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.3506, allocations: 47.69 kB / 0.5643 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.351, allocations: 143.3 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.3512, allocations: 111.7 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.3515, allocations: 207.3 kB / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.3516, allocations: 5.812 kB / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3517, allocations: 95.56 kB / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.352, allocations: 83.61 kB / 0.5649 GB, free: 112 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.352, allocations: 12 kB / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.3522, allocations: 115.9 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.3523, allocations: 35.86 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.3524, allocations: 63.59 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.3527, allocations: 228.9 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3527, allocations: 0 / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3528, allocations: 0 / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3528, allocations: 0 / 0.5654 GB, free: 15.66 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.0007004/0.3535, allocations: 436.8 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3535, allocations: 12.03 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.3535, allocations: 38.73 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.3536, allocations: 20.78 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.354, allocations: 186.2 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.354, allocations: 8.375 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.354, allocations: 7.922 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.3542, allocations: 105 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3542, allocations: 0 / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3542, allocations: 4 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3542, allocations: 0 / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.3543, allocations: 35.97 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.3546, allocations: 193.5 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.3548, allocations: 105.2 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.3549, allocations: 37.7 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.355, allocations: 3.984 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.3552, allocations: 113 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3552, allocations: 0 / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004609/0.3557, allocations: 169.4 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.3558, allocations: 132.5 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.3561, allocations: 240.1 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3561, allocations: 29.7 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.3562, allocations: 116.1 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.3562, allocations: 31.73 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.3563, allocations: 25.72 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3564, allocations: 334.8 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.3565, allocations: 23.98 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3567, allocations: 85.06 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3568, allocations: 83.36 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3568, allocations: 7.938 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002756/0.3571, allocations: 134.1 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3571, allocations: 4 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3571, allocations: 128 / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3572, allocations: 7.984 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3573, allocations: 23.94 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3573, allocations: 7.938 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.835e-05/0.3574, allocations: 19.88 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3574, allocations: 4 kB / 0.568 GB, free: 12.66 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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.0001245/0.3575, allocations: 134.3 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.3575, allocations: 27.91 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.3579, allocations: 146.7 kB / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3579, allocations: 0 / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3579, allocations: 0 / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3579, allocations: 0 / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.3581, allocations: 208.5 kB / 0.5685 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3581, allocations: 3.984 kB / 0.5685 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.3581, allocations: 8 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3581, allocations: 0 / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3582, allocations: 8 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3582, allocations: 3.938 kB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3582, allocations: 0 / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.3585, allocations: 173.7 kB / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.3585, allocations: 15.91 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.3585, allocations: 0 / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.3586, allocations: 15.98 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.3587, allocations: 7.984 kB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3587, allocations: 4 kB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.3589, allocations: 177.8 kB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3589, allocations: 0 / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.3592, allocations: 55.86 kB / 0.569 GB, free: 11.6 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002324/0.3615, allocations: 1.112 MB / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.3618, allocations: 75.89 kB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3618, allocations: 0 / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3619, allocations: 35.92 kB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3622, allocations: 52.12 kB / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.3648, allocations: 1.9 MB / 0.5721 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3652, allocations: 0.7242 MB / 0.5728 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.3653, allocations: 38.11 kB / 0.5728 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3654, allocations: 55.41 kB / 0.5729 GB, free: 7.648 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3654, allocations: 4 kB / 0.5729 GB, free: 7.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.3984, allocations: 5.503 MB / 0.5782 GB, free: 2.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.54, allocations: 4.062 kB / 0.5783 GB, free: 2.191 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.628685616997245]