Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001883/0.001883, 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.002544/0.002544, allocations: 211.7 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2296/0.2296, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.89 kB / 0.4962 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3361, allocations: 66.04 MB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003353/0.3394, allocations: 1.901 MB / 0.5625 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3413, allocations: 1.007 MB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.155e-05/0.3413, allocations: 3.938 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.3416, allocations: 51.69 kB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.342, allocations: 103.5 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.3422, allocations: 87.7 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.3424, allocations: 151.5 kB / 0.5639 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3426, allocations: 19.58 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.3426, allocations: 55.72 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3428, allocations: 55.69 kB / 0.564 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.3428, allocations: 8 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3429, allocations: 51.92 kB / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.3429, allocations: 23.86 kB / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.646e-05/0.343, allocations: 47.72 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.3433, allocations: 155.3 kB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3433, allocations: 0 / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3433, allocations: 0 / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.3433, allocations: 0 / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000645/0.3439, allocations: 419 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.344, allocations: 8.031 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.344, allocations: 38.75 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.3441, allocations: 16.84 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.3444, allocations: 171 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3444, allocations: 8.375 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.3444, allocations: 11.88 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3447, allocations: 137.9 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3447, allocations: 3.984 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3447, allocations: 0 / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3447, allocations: 4 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3448, allocations: 47.91 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.3455, allocations: 484.1 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.3458, allocations: 86.59 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.234e-05/0.3459, allocations: 32.84 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.3459, allocations: 0 / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.3461, allocations: 117 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3461, allocations: 0 / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004132/0.3465, allocations: 153.4 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3466, allocations: 55.41 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3468, allocations: 203.1 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3468, allocations: 37.64 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.3469, allocations: 112.1 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.3469, allocations: 27.75 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.347, allocations: 29.7 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3471, allocations: 326.8 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.3472, allocations: 31.97 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3473, allocations: 68.28 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.3475, allocations: 96.19 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.83e-06/0.3475, allocations: 8 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002915/0.3478, allocations: 141.9 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3478, allocations: 4 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3478, allocations: 4 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3479, allocations: 3.938 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.348, allocations: 28.02 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.348, allocations: 7.922 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.348, allocations: 23.88 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3481, allocations: 4 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001139/0.3482, allocations: 128.3 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.3482, allocations: 15.91 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.3485, allocations: 135 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3485, allocations: 11.88 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3485, allocations: 3.938 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3485, allocations: 0 / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.3487, allocations: 172.7 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3487, allocations: 0 / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/0.3488, allocations: 11.98 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3488, allocations: 4 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3488, allocations: 4 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3488, allocations: 7.938 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3488, allocations: 0 / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.3492, allocations: 192.9 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.3492, allocations: 15.88 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3492, allocations: 4 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.3493, allocations: 11.92 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.3493, allocations: 7.984 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3494, allocations: 4 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.3495, allocations: 147.2 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3495, allocations: 4.062 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.3497, allocations: 27.98 kB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002207/0.352, allocations: 1.069 MB / 0.569 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.3522, allocations: 83.83 kB / 0.5691 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3522, allocations: 0 / 0.5691 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3523, allocations: 40.16 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3526, allocations: 39.66 kB / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.3548, allocations: 1.762 MB / 0.5709 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.897e-05/0.3549, allocations: 105.8 kB / 0.571 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.762e-05/0.355, allocations: 17.42 kB / 0.571 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.3551, allocations: 43.42 kB / 0.571 GB, free: 9.219 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3551, allocations: 0 / 0.571 GB, free: 9.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.3872, allocations: 4.561 MB / 0.5755 GB, free: 4.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 7.375 kB / 0.5755 GB, free: 4.719 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.827053559012711]