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.001302/0.001302, 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.001384/0.001384, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2283/0.2283, allocations: 46.96 MB / 360.9 MB, free: 4.004 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.001946/0.001946, allocations: 71.89 kB / 0.4962 GB, free: 7.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3248, allocations: 66.03 MB / 0.5606 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003038/0.3279, allocations: 1.675 MB / 0.5623 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3295, allocations: 0.9481 MB / 0.5632 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.3296, allocations: 0 / 0.5632 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.3299, allocations: 63.73 kB / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.3302, allocations: 111.6 kB / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.3304, allocations: 79.67 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3306, allocations: 107.7 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.3306, allocations: 240 / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.3307, allocations: 51.77 kB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.719e-05/0.3308, allocations: 47.78 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3308, allocations: 4 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.092e-05/0.3309, allocations: 35.92 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.331, allocations: 23.91 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.331, allocations: 23.86 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3312, allocations: 105.4 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3312, allocations: 4 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3312, allocations: 0 / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3312, allocations: 4 kB / 0.5638 GB, free: 0.8711 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.0005214/0.3317, allocations: 341.5 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3318, allocations: 8.031 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.3318, allocations: 34.75 kB / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.3318, allocations: 16.84 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3321, allocations: 143 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3321, allocations: 4.375 kB / 0.5644 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.3321, allocations: 3.938 kB / 0.5644 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3323, allocations: 57.67 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3323, allocations: 0 / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.3323, allocations: 0 / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3323, allocations: 0 / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.252e-05/0.3324, allocations: 19.92 kB / 0.5644 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.3326, allocations: 156.7 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3327, allocations: 50.56 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.3328, allocations: 24.78 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3328, allocations: 4 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.333, allocations: 67.39 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.333, allocations: 0 / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002802/0.3332, allocations: 101.5 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3333, allocations: 51.41 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.3335, allocations: 198.3 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3335, allocations: 29.7 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.3336, allocations: 104.1 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.3336, allocations: 15.84 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.3336, allocations: 17.72 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3338, allocations: 330.8 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/0.3338, allocations: 15.98 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.254e-05/0.3339, allocations: 33.64 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.334, allocations: 49.89 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.334, allocations: 3.938 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001571/0.3341, allocations: 85.53 kB / 0.5657 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3342, allocations: 8 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3342, allocations: 3.984 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3342, allocations: 4.031 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.866e-05/0.3343, allocations: 15.98 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.3343, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.3343, allocations: 4 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3343, allocations: 4 kB / 0.5658 GB, free: 14.7 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.0001021/0.3344, allocations: 128.6 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.3344, allocations: 7.953 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.3347, allocations: 98.86 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3347, allocations: 3.984 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3347, allocations: 0 / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3347, allocations: 4 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.3348, allocations: 160.6 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3348, allocations: 0 / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.3348, allocations: 4 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3348, allocations: 0 / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3349, allocations: 7.984 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3349, allocations: 0 / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3349, allocations: 3.984 kB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.3351, allocations: 117.2 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.3351, allocations: 15.91 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.3351, allocations: 8 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.3351, allocations: 4 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.3352, allocations: 3.984 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3352, allocations: 7.938 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3353, allocations: 152.2 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3353, allocations: 0 / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.3355, allocations: 19.94 kB / 0.5665 GB, free: 13.88 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 (6): * Single equations (assignments): 4 * 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.001945/0.3375, allocations: 0.991 MB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.3377, allocations: 43.92 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3377, allocations: 0 / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.146e-05/0.3377, allocations: 19.98 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.338, allocations: 37.17 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3396, allocations: 1.522 MB / 0.569 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.3397, allocations: 93.25 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.3398, allocations: 16.55 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.3398, allocations: 31.42 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3398, allocations: 0 / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.3685, allocations: 3.858 MB / 0.5729 GB, free: 7.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.16, allocations: 14.48 kB / 0.5729 GB, free: 7.371 MB / 414.1 MB " [Timeout remaining time 649] (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.148700299003394]