Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001435/0.001435, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001433/0.001433, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2335/0.2335, allocations: 46.93 MB / 360.9 MB, free: 4.301 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.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3364, allocations: 66.03 MB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003258/0.3397, allocations: 1.702 MB / 0.5624 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3416, allocations: 1.022 MB / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.3416, allocations: 8 kB / 0.5634 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.342, allocations: 67.67 kB / 0.5634 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.3423, allocations: 107.5 kB / 0.5635 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.3425, allocations: 75.73 kB / 0.5636 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.3427, allocations: 111.6 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.3428, allocations: 4.234 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3429, allocations: 47.78 kB / 0.5638 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.343, allocations: 47.77 kB / 0.5638 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.343, allocations: 8 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.567e-05/0.3431, allocations: 31.98 kB / 0.5639 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.3432, allocations: 27.84 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.3432, allocations: 27.81 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.3434, allocations: 113.3 kB / 0.564 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3434, allocations: 0 / 0.564 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3434, allocations: 0 / 0.564 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.3435, allocations: 0 / 0.564 GB, free: 1.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006004/0.3441, allocations: 337.6 kB / 0.5643 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3441, allocations: 12.03 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.3441, allocations: 34.75 kB / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.3442, allocations: 12.84 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.3445, allocations: 147 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.3445, allocations: 4.375 kB / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3445, allocations: 3.938 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3447, allocations: 49.67 kB / 0.5646 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3447, allocations: 0 / 0.5646 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3447, allocations: 4 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3447, allocations: 0 / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.3448, allocations: 19.98 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.345, allocations: 152.7 kB / 0.5648 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3452, allocations: 62.47 kB / 0.5648 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.3452, allocations: 16.86 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3452, allocations: 3.984 kB / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.3454, allocations: 67.39 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3454, allocations: 0 / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003558/0.3457, allocations: 105.5 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3458, allocations: 51.41 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.346, allocations: 194.3 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.346, allocations: 25.7 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.3461, allocations: 100.1 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.3461, allocations: 23.83 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.3462, allocations: 17.72 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3463, allocations: 326.8 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.3464, allocations: 15.98 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.3465, allocations: 25.66 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.3466, allocations: 57.89 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3466, allocations: 3.938 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001662/0.3467, allocations: 77.59 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3467, allocations: 4 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3467, allocations: 4 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3468, allocations: 3.984 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.3468, allocations: 11.94 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3468, allocations: 0 / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.3469, allocations: 4 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.3469, allocations: 32 / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.0001106/0.347, allocations: 141.7 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.347, allocations: 7.953 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.3472, allocations: 86.77 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3472, allocations: 0 / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3473, allocations: 0 / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3473, allocations: 7.922 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.3474, allocations: 160.6 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3474, allocations: 0 / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.3474, allocations: 8 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.3474, allocations: 0 / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3475, allocations: 4 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3475, allocations: 0 / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3475, allocations: 3.984 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.3476, allocations: 109.2 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.3477, allocations: 11.94 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.3477, allocations: 0 / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.3477, allocations: 11.94 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.3478, allocations: 4 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3478, allocations: 7.984 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3479, allocations: 140.2 kB / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3479, allocations: 0 / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.3482, allocations: 27.86 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001951/0.3501, allocations: 0.96 MB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.3503, allocations: 43.92 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3503, allocations: 0 / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.171e-05/0.3503, allocations: 19.98 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3506, allocations: 19.98 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.3524, allocations: 1.506 MB / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3527, allocations: 0.7079 MB / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.3528, allocations: 16.47 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.3529, allocations: 35.42 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3529, allocations: 0 / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.3822, allocations: 3.314 MB / 0.5731 GB, free: 7.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.39, allocations: 4.688 kB / 0.5731 GB, free: 7.605 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.45733605100395]