Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001727/0.001727, 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.002543/0.002543, allocations: 210 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.94 MB / 358.9 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003203/0.003203, allocations: 67.89 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3193, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004605/0.3239, allocations: 1.712 MB / 0.5587 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.3264, allocations: 0.991 MB / 0.5597 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.3265, allocations: 0 / 0.5597 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.3268, allocations: 35.77 kB / 0.5597 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.3273, allocations: 91.61 kB / 0.5598 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.3276, allocations: 83.66 kB / 0.5599 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.3279, allocations: 111.6 kB / 0.56 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.328, allocations: 21.8 kB / 0.56 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.3281, allocations: 43.8 kB / 0.56 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3282, allocations: 39.77 kB / 0.5601 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.3283, allocations: 8 kB / 0.5601 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.3286, allocations: 115.9 kB / 0.5602 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.3287, allocations: 19.92 kB / 0.5602 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.3287, allocations: 23.86 kB / 0.5602 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.3292, allocations: 175.3 kB / 0.5604 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3292, allocations: 0 / 0.5604 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.819e-06/0.3292, allocations: 3.984 kB / 0.5604 GB, free: 4.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3292, allocations: 4 kB / 0.5604 GB, free: 4.051 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.0007906/0.33, allocations: 361.4 kB / 0.5608 GB, free: 3.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.33, allocations: 8.031 kB / 0.5608 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/0.3301, allocations: 34.75 kB / 0.5608 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.3301, allocations: 8.891 kB / 0.5608 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.3305, allocations: 157.8 kB / 0.561 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3305, allocations: 4.375 kB / 0.561 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3306, allocations: 3.938 kB / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.3308, allocations: 105 kB / 0.5611 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3308, allocations: 0 / 0.5611 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3308, allocations: 4 kB / 0.5611 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3309, allocations: 4 kB / 0.5611 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.331, allocations: 15.98 kB / 0.5611 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.3314, allocations: 255.9 kB / 0.5613 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.3317, allocations: 66.55 kB / 0.5614 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/0.3318, allocations: 28.97 kB / 0.5614 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.3318, allocations: 0 / 0.5614 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.332, allocations: 71.38 kB / 0.5615 GB, free: 2.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.332, allocations: 7.938 kB / 0.5615 GB, free: 2.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008527/0.3329, allocations: 217.6 kB / 0.5617 GB, free: 2.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.333, allocations: 77.11 kB / 0.5618 GB, free: 2.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.3333, allocations: 174.2 kB / 0.562 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3333, allocations: 25.7 kB / 0.562 GB, free: 2.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.3334, allocations: 100.1 kB / 0.5621 GB, free: 2.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.3334, allocations: 31.73 kB / 0.5621 GB, free: 2.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3335, allocations: 33.7 kB / 0.5621 GB, free: 2.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3337, allocations: 318.8 kB / 0.5624 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.3339, allocations: 27.98 kB / 0.5625 GB, free: 1.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.334, allocations: 92.25 kB / 0.5626 GB, free: 1.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.3343, allocations: 85.58 kB / 0.5626 GB, free: 1.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3343, allocations: 0 / 0.5626 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003801/0.3347, allocations: 121.6 kB / 0.5628 GB, free: 1.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.3347, allocations: 4 kB / 0.5628 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3347, allocations: 0 / 0.5628 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3347, allocations: 3.984 kB / 0.5628 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3349, allocations: 23.94 kB / 0.5628 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3349, allocations: 12.06 kB / 0.5628 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.335, allocations: 7.984 kB / 0.5628 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.335, allocations: 4 kB / 0.5628 GB, free: 1.371 MB / 398.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.0001393/0.3351, allocations: 124.8 kB / 0.5629 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.3352, allocations: 15.91 kB / 0.5629 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.3356, allocations: 138.3 kB / 0.5631 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3356, allocations: 0 / 0.5631 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3356, allocations: 3.938 kB / 0.5631 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3356, allocations: 0 / 0.5631 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007623/0.3363, allocations: 402.3 kB / 0.5635 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3363, allocations: 4.031 kB / 0.5635 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.3364, allocations: 19.92 kB / 0.5635 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3364, allocations: 0 / 0.5635 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3364, allocations: 4 kB / 0.5635 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3364, allocations: 4 kB / 0.5635 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3364, allocations: 0 / 0.5635 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.3368, allocations: 224.3 kB / 0.5637 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.3369, allocations: 15.84 kB / 0.5637 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.3369, allocations: 4 kB / 0.5637 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3371, allocations: 12.02 kB / 0.5637 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.3371, allocations: 4 kB / 0.5637 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.3371, allocations: 7.984 kB / 0.5637 GB, free: 328 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.3373, allocations: 132.9 kB / 0.5639 GB, free: 196 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3373, allocations: 0 / 0.5639 GB, free: 196 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006357/0.3379, allocations: 59.8 kB / 0.5639 GB, free: 136 kB / 398.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 (11): * Single equations (assignments): 9 * 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.003629/0.3416, allocations: 1.253 MB / 0.5652 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.3419, allocations: 79.84 kB / 0.5652 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3419, allocations: 0 / 0.5652 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3421, allocations: 35.92 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.3426, allocations: 35.97 kB / 0.5653 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.3455, allocations: 1.689 MB / 0.5669 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3457, allocations: 85.31 kB / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.3458, allocations: 16.64 kB / 0.567 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.3459, allocations: 39.42 kB / 0.5671 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3459, allocations: 4 kB / 0.5671 GB, free: 13.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04663/0.3925, allocations: 4.964 MB / 0.5719 GB, free: 8.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.71, allocations: 3.375 kB / 0.5719 GB, free: 8.09 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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: 14.834158654790372]