Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 101.1 kB / 21.22 MB, free: 0.5391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 209.9 kB / 24.53 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.88 MB / 361.3 MB, free: 4.477 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003091/0.003091, allocations: 87.84 kB / 0.4966 GB, free: 8.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3197, allocations: 66.03 MB / 0.5611 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003528/0.3232, allocations: 1.753 MB / 0.5628 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3252, allocations: 1.072 MB / 0.5639 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.3253, allocations: 4 kB / 0.5639 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.3256, allocations: 35.78 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.3259, allocations: 95.55 kB / 0.564 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.3261, allocations: 83.66 kB / 0.5641 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.3263, allocations: 107.7 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.3263, allocations: 13.94 kB / 0.5642 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3264, allocations: 55.72 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.3265, allocations: 43.77 kB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3266, allocations: 8 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.3268, allocations: 115.9 kB / 0.5644 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.3268, allocations: 23.86 kB / 0.5644 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.3269, allocations: 31.75 kB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.3272, allocations: 179.3 kB / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3272, allocations: 0 / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3272, allocations: 4 kB / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3272, allocations: 0 / 0.5646 GB, free: 1.043 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005812/0.3277, allocations: 434.5 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3278, allocations: 8.031 kB / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.3278, allocations: 38.75 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3279, allocations: 20.81 kB / 0.5651 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.3282, allocations: 208.2 kB / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3282, allocations: 384 / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.3282, allocations: 4.375 kB / 0.5653 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3284, allocations: 67.52 kB / 0.5654 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3284, allocations: 0 / 0.5654 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3284, allocations: 0 / 0.5654 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3284, allocations: 8 kB / 0.5654 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.743e-05/0.3285, allocations: 23.92 kB / 0.5654 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.329, allocations: 276.9 kB / 0.5657 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.3292, allocations: 66.61 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/0.3293, allocations: 32.97 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3293, allocations: 0 / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.3295, allocations: 75.31 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3295, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000601/0.3301, allocations: 205.3 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.3301, allocations: 77.11 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.3303, allocations: 170.1 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3303, allocations: 29.7 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.3304, allocations: 100.1 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.3304, allocations: 39.66 kB / 0.5664 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.3305, allocations: 29.72 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3307, allocations: 322.8 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.3307, allocations: 27.98 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.374e-05/0.3308, allocations: 62.48 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.331, allocations: 77.83 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.331, allocations: 3.938 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002318/0.3312, allocations: 117.6 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3312, allocations: 10.34 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3312, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3312, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3313, allocations: 27.92 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3313, allocations: 4.031 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.3314, allocations: 4 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.3314, allocations: 11.94 kB / 0.5671 GB, free: 14.25 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 (13): * Single equations (assignments): 13 * 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.0001141/0.3315, allocations: 133.3 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.3316, allocations: 11.91 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.3318, allocations: 126.3 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3318, allocations: 7.984 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3318, allocations: 0 / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3318, allocations: 4 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.3324, allocations: 427.2 kB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3324, allocations: 0 / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.3324, allocations: 11.94 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3324, allocations: 7.938 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3325, allocations: 0 / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3325, allocations: 0 / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3325, allocations: 0 / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.3328, allocations: 220.5 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.3328, allocations: 89.02 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.3329, allocations: 12.02 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.333, allocations: 7.938 kB / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.333, allocations: 7.984 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.333, allocations: 4 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.3331, allocations: 131.1 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3331, allocations: 0 / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.3334, allocations: 55.86 kB / 0.5683 GB, free: 12.91 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: 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.002581/0.336, allocations: 1.199 MB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3362, allocations: 71.91 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3362, allocations: 0 / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.901e-05/0.3363, allocations: 39.91 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.3367, allocations: 35.77 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.339, allocations: 1.665 MB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.3395, allocations: 0.7006 MB / 0.5719 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.516e-05/0.3395, allocations: 32.41 kB / 0.572 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3397, allocations: 35.42 kB / 0.572 GB, free: 9.172 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3397, allocations: 0 / 0.572 GB, free: 9.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.367, allocations: 4.307 MB / 0.5762 GB, free: 4.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.435, allocations: 12.14 kB / 0.5762 GB, free: 4.836 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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: 11.420172544196248]