Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 111.2 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.567/1.567, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.4072/0.4072, allocations: 44.22 MB / 326.5 MB, free: 6.805 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 79.88 kB / 462.2 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3322, allocations: 60.99 MB / 0.511 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003253/0.3354, allocations: 1.711 MB / 0.5126 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3373, allocations: 1.418 MB / 0.514 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.3373, allocations: 5.094 kB / 0.514 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.3377, allocations: 40.42 kB / 0.5141 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.3379, allocations: 57.84 kB / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3382, allocations: 85.67 kB / 0.5142 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3384, allocations: 93.89 kB / 0.5143 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3385, allocations: 12.81 kB / 0.5143 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.821e-05/0.3386, allocations: 40.83 kB / 0.5144 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.3387, allocations: 56.39 kB / 0.5144 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3387, allocations: 3.875 kB / 0.5144 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3389, allocations: 64.8 kB / 0.5145 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.3389, allocations: 12.02 kB / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.339, allocations: 27.25 kB / 0.5145 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.3392, allocations: 126.5 kB / 0.5146 GB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3392, allocations: 1.312 kB / 0.5146 GB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3392, allocations: 3.938 kB / 0.5146 GB, free: 10.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3392, allocations: 0 / 0.5146 GB, free: 10.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004332/0.3397, allocations: 410.3 kB / 0.515 GB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3397, allocations: 13.11 kB / 0.515 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.3397, allocations: 36.08 kB / 0.5151 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.3398, allocations: 8.859 kB / 0.5151 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.34, allocations: 213.5 kB / 0.5153 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.34, allocations: 1.938 kB / 0.5153 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.34, allocations: 6.562 kB / 0.5153 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.3402, allocations: 75.11 kB / 0.5154 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3402, allocations: 0 / 0.5154 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3402, allocations: 0 / 0.5154 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3402, allocations: 1.938 kB / 0.5154 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/0.3403, allocations: 22.11 kB / 0.5154 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.3405, allocations: 280.1 kB / 0.5157 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3407, allocations: 63.11 kB / 0.5157 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.3407, allocations: 17.11 kB / 0.5157 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.3407, allocations: 1.375 kB / 0.5157 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.3409, allocations: 69.12 kB / 0.5158 GB, free: 9.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3409, allocations: 0 / 0.5158 GB, free: 9.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000483/0.3414, allocations: 161.1 kB / 0.516 GB, free: 9.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.3414, allocations: 82.48 kB / 0.516 GB, free: 9.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3415, allocations: 164.2 kB / 0.5162 GB, free: 8.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.3415, allocations: 25.7 kB / 0.5162 GB, free: 8.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.3416, allocations: 100.2 kB / 0.5163 GB, free: 8.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3416, allocations: 23.92 kB / 0.5163 GB, free: 8.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3416, allocations: 28.58 kB / 0.5164 GB, free: 8.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.3417, allocations: 321.6 kB / 0.5167 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.3417, allocations: 18.98 kB / 0.5167 GB, free: 8.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-05/0.3418, allocations: 48.25 kB / 0.5167 GB, free: 8.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.3419, allocations: 60.2 kB / 0.5168 GB, free: 8.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3419, allocations: 0 / 0.5168 GB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000161/0.342, allocations: 98.77 kB / 0.5169 GB, free: 8.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3421, allocations: 5.5 kB / 0.5169 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3421, allocations: 5.375 kB / 0.5169 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3421, allocations: 4.062 kB / 0.5169 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.3422, allocations: 21.73 kB / 0.5169 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3422, allocations: 1.375 kB / 0.5169 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.3422, allocations: 9.297 kB / 0.5169 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3422, allocations: 2.75 kB / 0.5169 GB, free: 8.207 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 (10): * Single equations (assignments): 10 * 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.469e-05/0.3423, allocations: 124.6 kB / 0.517 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.3423, allocations: 8.078 kB / 0.5171 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.3423, allocations: 13.03 kB / 0.5171 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3423, allocations: 1.375 kB / 0.5171 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3424, allocations: 7.938 kB / 0.5171 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3424, allocations: 7.922 kB / 0.5171 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.3427, allocations: 391.8 kB / 0.5175 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3427, allocations: 0 / 0.5175 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.3427, allocations: 8.25 kB / 0.5175 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3427, allocations: 5.312 kB / 0.5175 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3427, allocations: 1.375 kB / 0.5175 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3427, allocations: 5.359 kB / 0.5175 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3427, allocations: 4.031 kB / 0.5175 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.3429, allocations: 204 kB / 0.5177 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.3429, allocations: 82.97 kB / 0.5178 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.343, allocations: 10.06 kB / 0.5178 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.343, allocations: 2.312 kB / 0.5178 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.3431, allocations: 7.578 kB / 0.5178 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3431, allocations: 7.156 kB / 0.5178 GB, free: 7.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.25e-05/0.3431, allocations: 116.7 kB / 0.5179 GB, free: 7.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3431, allocations: 0 / 0.5179 GB, free: 7.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3434, allocations: 28.47 kB / 0.5179 GB, free: 7.266 MB / 382.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 (8): * Single equations (assignments): 6 * 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.001994/0.3454, allocations: 1.154 MB / 0.519 GB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.3456, allocations: 59.61 kB / 0.5191 GB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3456, allocations: 1.656 kB / 0.5191 GB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/0.3456, allocations: 31.48 kB / 0.5191 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.346, allocations: 20.52 kB / 0.5192 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.3472, allocations: 1.563 MB / 0.5207 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.3473, allocations: 0.7001 MB / 0.5214 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.61e-05/0.3474, allocations: 12.88 kB / 0.5214 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.3474, allocations: 39.41 kB / 0.5214 GB, free: 3.809 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3474, allocations: 0 / 0.5214 GB, free: 3.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.3727, allocations: 3.565 MB / 0.5249 GB, free: 140 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.484, allocations: 12.81 kB / 0.5249 GB, free: 128 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.607602319214493]