Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.00125/0.00125, allocations: 114.4 kB / 17.12 MB, free: 5.891 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.001344/0.001344, allocations: 211.2 kB / 20.09 MB, free: 2.941 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.741/1.741, allocations: 207.6 MB / 230.5 MB, free: 4.023 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.4382/0.4382, allocations: 44.23 MB / 326.6 MB, free: 6.797 MB / 254.1 MB " [Timeout remaining time 179] 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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.002159/0.002159, allocations: 75.89 kB / 462.3 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3881, allocations: 61 MB / 0.511 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002536/0.3907, allocations: 1.674 MB / 0.5127 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3917, allocations: 0.7903 MB / 0.5134 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.3918, allocations: 1.094 kB / 0.5134 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.392, allocations: 70.78 kB / 0.5135 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.3921, allocations: 59.41 kB / 0.5135 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.3923, allocations: 83.75 kB / 0.5136 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.3924, allocations: 104.3 kB / 0.5137 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.382e-05/0.3925, allocations: 10.67 kB / 0.5137 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.72e-05/0.3925, allocations: 53.08 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.3926, allocations: 43.45 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3926, allocations: 3.562 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.682e-05/0.3927, allocations: 27.89 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.3927, allocations: 18.11 kB / 0.5139 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.3927, allocations: 27.5 kB / 0.5139 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.3929, allocations: 113.3 kB / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3929, allocations: 0 / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3929, allocations: 0 / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.3929, allocations: 1.719 kB / 0.514 GB, free: 10.83 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.0003267/0.3932, allocations: 401.7 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.3932, allocations: 12.89 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.774e-05/0.3933, allocations: 30.75 kB / 0.5144 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.3933, allocations: 13.34 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.3935, allocations: 215.5 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3935, allocations: 1.656 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3935, allocations: 4.875 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3937, allocations: 54.92 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3937, allocations: 1.312 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3937, allocations: 0 / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3937, allocations: 1.406 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.235e-05/0.3938, allocations: 15.58 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.3939, allocations: 181.8 kB / 0.5149 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.3941, allocations: 54.92 kB / 0.515 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.3941, allocations: 19.7 kB / 0.515 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3941, allocations: 3.938 kB / 0.515 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.3943, allocations: 69.5 kB / 0.515 GB, free: 9.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3943, allocations: 0 / 0.515 GB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002572/0.3945, allocations: 98.77 kB / 0.5151 GB, free: 9.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.3945, allocations: 52.53 kB / 0.5152 GB, free: 9.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3947, allocations: 194 kB / 0.5154 GB, free: 9.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.3947, allocations: 29.64 kB / 0.5154 GB, free: 9.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.3947, allocations: 101.7 kB / 0.5155 GB, free: 9.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.3948, allocations: 10.67 kB / 0.5155 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.3948, allocations: 21.86 kB / 0.5155 GB, free: 9.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.3949, allocations: 322.8 kB / 0.5158 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.3949, allocations: 10.94 kB / 0.5159 GB, free: 8.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.057e-05/0.395, allocations: 31.42 kB / 0.5159 GB, free: 8.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.412e-05/0.3951, allocations: 47.55 kB / 0.5159 GB, free: 8.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3951, allocations: 3.938 kB / 0.5159 GB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001416/0.3952, allocations: 83.56 kB / 0.516 GB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3952, allocations: 6.062 kB / 0.516 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3952, allocations: 0 / 0.516 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3952, allocations: 1.594 kB / 0.516 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.3953, allocations: 8.781 kB / 0.516 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3953, allocations: 8.141 kB / 0.516 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.3954, allocations: 11.64 kB / 0.516 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3954, allocations: 2.031 kB / 0.516 GB, free: 8.82 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 7.34e-05/0.3954, allocations: 125.5 kB / 0.5162 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.3955, allocations: 9.516 kB / 0.5162 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.3955, allocations: 16.11 kB / 0.5162 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3955, allocations: 2.031 kB / 0.5162 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3955, allocations: 320 / 0.5162 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3955, allocations: 4 kB / 0.5162 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.3956, allocations: 188.1 kB / 0.5164 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3956, allocations: 4 kB / 0.5164 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.3956, allocations: 7.016 kB / 0.5164 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3956, allocations: 1.125 kB / 0.5164 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3956, allocations: 1.156 kB / 0.5164 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.3956, allocations: 0 / 0.5164 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3956, allocations: 1.094 kB / 0.5164 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.3958, allocations: 113.3 kB / 0.5165 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.3958, allocations: 91.94 kB / 0.5166 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3959, allocations: 0 / 0.5166 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.3959, allocations: 1.531 kB / 0.5166 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.3959, allocations: 6.734 kB / 0.5166 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.396, allocations: 3.25 kB / 0.5166 GB, free: 8.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3961, allocations: 140.5 kB / 0.5167 GB, free: 8.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3961, allocations: 0 / 0.5167 GB, free: 8.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.3963, allocations: 20.23 kB / 0.5167 GB, free: 8.129 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.001723/0.398, allocations: 0.961 MB / 0.5177 GB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.3982, allocations: 39.3 kB / 0.5177 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3982, allocations: 0 / 0.5177 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.3982, allocations: 17.61 kB / 0.5177 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.3985, allocations: 32.42 kB / 0.5178 GB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3998, allocations: 1.486 MB / 0.5192 GB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.4, allocations: 0.6942 MB / 0.5199 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.409e-05/0.4, allocations: 12.8 kB / 0.5199 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.4001, allocations: 32.92 kB / 0.5199 GB, free: 5.164 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4001, allocations: 0 / 0.5199 GB, free: 5.164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.4246, allocations: 3.101 MB / 0.523 GB, free: 2.191 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.375, allocations: 0 / 0.523 GB, free: 2.191 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.83009556599427]