Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.001817/0.001817, allocations: 114.6 kB / 17.12 MB, free: 5.93 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.002223/0.002223, allocations: 213 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 207.6 MB / 230.5 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.321/0.321, allocations: 44.23 MB / 326.6 MB, free: 6.797 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003164/0.003164, allocations: 79.91 kB / 462.3 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2885, allocations: 61 MB / 0.511 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002788/0.2913, allocations: 1.663 MB / 0.5126 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2924, allocations: 0.7892 MB / 0.5134 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.2925, allocations: 1.594 kB / 0.5134 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.2928, allocations: 90.31 kB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.293, allocations: 73.64 kB / 0.5136 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.2932, allocations: 88.09 kB / 0.5137 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.2933, allocations: 102.7 kB / 0.5138 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.2934, allocations: 6.734 kB / 0.5138 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.2935, allocations: 57.58 kB / 0.5138 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.2935, allocations: 56.28 kB / 0.5139 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2936, allocations: 1.781 kB / 0.5139 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.709e-05/0.2936, allocations: 27.48 kB / 0.5139 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.2937, allocations: 20.52 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.2937, allocations: 40.17 kB / 0.514 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.2939, allocations: 107.3 kB / 0.5141 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2939, allocations: 0 / 0.5141 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2939, allocations: 3.938 kB / 0.5141 GB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.2939, allocations: 1.625 kB / 0.5141 GB, free: 10.92 MB / 382.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.0004586/0.2944, allocations: 415.8 kB / 0.5145 GB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.2944, allocations: 12.11 kB / 0.5145 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.2944, allocations: 32.12 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.2945, allocations: 10.39 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.2947, allocations: 211.2 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.2947, allocations: 9.75 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.2947, allocations: 5.312 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.2949, allocations: 47.3 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2949, allocations: 3.938 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2949, allocations: 5.375 kB / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.2949, allocations: 0 / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.509e-05/0.295, allocations: 16.23 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.2951, allocations: 180.8 kB / 0.515 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2953, allocations: 52.38 kB / 0.515 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.2953, allocations: 21.09 kB / 0.515 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.2953, allocations: 0 / 0.515 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.2955, allocations: 69.08 kB / 0.5151 GB, free: 9.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.2955, allocations: 0 / 0.5151 GB, free: 9.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002637/0.2957, allocations: 99.33 kB / 0.5152 GB, free: 9.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.2957, allocations: 52.66 kB / 0.5153 GB, free: 9.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.2959, allocations: 220.9 kB / 0.5155 GB, free: 9.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.2959, allocations: 25.7 kB / 0.5155 GB, free: 9.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.2959, allocations: 105.8 kB / 0.5156 GB, free: 9.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.296, allocations: 10.59 kB / 0.5156 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.296, allocations: 18.5 kB / 0.5156 GB, free: 9.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.296, allocations: 326.2 kB / 0.5159 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.2961, allocations: 24.08 kB / 0.516 GB, free: 9.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.2961, allocations: 31.75 kB / 0.516 GB, free: 8.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.5e-05/0.2962, allocations: 43.17 kB / 0.516 GB, free: 8.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2962, allocations: 7.875 kB / 0.516 GB, free: 8.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001373/0.2964, allocations: 83.59 kB / 0.5161 GB, free: 8.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2964, allocations: 9.5 kB / 0.5161 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2964, allocations: 5.031 kB / 0.5161 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2964, allocations: 1.188 kB / 0.5161 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.2965, allocations: 8.812 kB / 0.5161 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2965, allocations: 1.156 kB / 0.5161 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.2965, allocations: 10.17 kB / 0.5161 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.2965, allocations: 2.219 kB / 0.5161 GB, free: 8.883 MB / 382.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 6.55e-05/0.2966, allocations: 132 kB / 0.5163 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.2966, allocations: 9.578 kB / 0.5163 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.2966, allocations: 21.45 kB / 0.5163 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2966, allocations: 1.406 kB / 0.5163 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2966, allocations: 0 / 0.5163 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2966, allocations: 5.312 kB / 0.5163 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.538e-05/0.2967, allocations: 186 kB / 0.5165 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2967, allocations: 0 / 0.5165 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.2967, allocations: 11.78 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2967, allocations: 0 / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.2968, allocations: 1.125 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2968, allocations: 1.156 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2968, allocations: 0 / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.2969, allocations: 117.6 kB / 0.5166 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.2969, allocations: 89.31 kB / 0.5167 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.297, allocations: 0 / 0.5167 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/0.297, allocations: 2 kB / 0.5167 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.297, allocations: 9.828 kB / 0.5167 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.297, allocations: 6.625 kB / 0.5167 GB, free: 8.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2971, allocations: 155 kB / 0.5169 GB, free: 8.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2971, allocations: 4 kB / 0.5169 GB, free: 8.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.2973, allocations: 14.03 kB / 0.5169 GB, free: 8.18 MB / 382.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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001639/0.299, allocations: 0.9626 MB / 0.5178 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.2991, allocations: 43.53 kB / 0.5179 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2991, allocations: 4.062 kB / 0.5179 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.604e-05/0.2992, allocations: 13.91 kB / 0.5179 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2995, allocations: 24.22 kB / 0.5179 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3007, allocations: 1.54 MB / 0.5194 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.3008, allocations: 0.7041 MB / 0.5201 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.314e-05/0.3008, allocations: 12.55 kB / 0.5201 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.3009, allocations: 35.42 kB / 0.5201 GB, free: 5.145 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3009, allocations: 0 / 0.5201 GB, free: 5.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.3238, allocations: 3.216 MB / 0.5233 GB, free: 1.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/8.587, allocations: 2.406 kB / 0.5233 GB, free: 1.859 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019972 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.542147693995503]