Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.00122/0.00122, allocations: 112.7 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.001318/0.001318, 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.577/1.577, allocations: 207.6 MB / 230.5 MB, free: 4.062 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.3813/0.3813, allocations: 44.23 MB / 326.5 MB, free: 6.777 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.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",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.002204/0.002204, allocations: 79.88 kB / 462.2 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3042, allocations: 61 MB / 0.511 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003115/0.3073, allocations: 1.712 MB / 0.5127 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3091, allocations: 1.422 MB / 0.514 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.3092, allocations: 7.875 kB / 0.514 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.3095, allocations: 40.61 kB / 0.5141 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.3097, allocations: 53.7 kB / 0.5141 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.3099, allocations: 83.33 kB / 0.5142 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3101, allocations: 93.22 kB / 0.5143 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3102, allocations: 12.7 kB / 0.5143 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3103, allocations: 43.39 kB / 0.5144 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3105, allocations: 49.92 kB / 0.5144 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.3105, allocations: 8.156 kB / 0.5144 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3107, allocations: 64.02 kB / 0.5145 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.3107, allocations: 12.12 kB / 0.5145 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.3108, allocations: 31.61 kB / 0.5145 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.311, allocations: 122.3 kB / 0.5146 GB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.311, allocations: 1.219 kB / 0.5146 GB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.311, allocations: 0 / 0.5146 GB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.311, allocations: 3.938 kB / 0.5146 GB, free: 10.3 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.0005255/0.3115, allocations: 410.4 kB / 0.515 GB, free: 9.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.3116, allocations: 17.08 kB / 0.515 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.3116, allocations: 36.06 kB / 0.5151 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.3117, allocations: 13.06 kB / 0.5151 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.312, allocations: 198.2 kB / 0.5153 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.312, allocations: 5.625 kB / 0.5153 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.312, allocations: 10.64 kB / 0.5153 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3122, allocations: 68.86 kB / 0.5154 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3122, allocations: 1.094 kB / 0.5154 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3122, allocations: 4 kB / 0.5154 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3122, allocations: 1.031 kB / 0.5154 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.3123, allocations: 18.73 kB / 0.5154 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.3126, allocations: 284.4 kB / 0.5157 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3128, allocations: 52.03 kB / 0.5157 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.3128, allocations: 25.19 kB / 0.5157 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3128, allocations: 4 kB / 0.5157 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.313, allocations: 62.23 kB / 0.5158 GB, free: 9.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.313, allocations: 0 / 0.5158 GB, free: 9.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005186/0.3135, allocations: 177.5 kB / 0.516 GB, free: 8.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.3135, allocations: 77.11 kB / 0.516 GB, free: 8.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3136, allocations: 165.2 kB / 0.5162 GB, free: 8.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.3136, allocations: 29.7 kB / 0.5162 GB, free: 8.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.3137, allocations: 92.58 kB / 0.5163 GB, free: 8.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.3137, allocations: 27.16 kB / 0.5163 GB, free: 8.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.3137, allocations: 25.34 kB / 0.5164 GB, free: 8.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.933e-05/0.3138, allocations: 321.7 kB / 0.5167 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.3138, allocations: 26.45 kB / 0.5167 GB, free: 8.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.3139, allocations: 49.5 kB / 0.5167 GB, free: 8.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.314, allocations: 58.2 kB / 0.5168 GB, free: 8.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.314, allocations: 3.938 kB / 0.5168 GB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001574/0.3142, allocations: 94.83 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3142, allocations: 5.5 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3142, allocations: 1.375 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3142, allocations: 1.375 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.3143, allocations: 20.42 kB / 0.5169 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3143, allocations: 1.375 kB / 0.5169 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.3143, allocations: 10.69 kB / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3143, allocations: 2.75 kB / 0.5169 GB, free: 8.078 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.797e-05/0.3144, allocations: 123.3 kB / 0.5171 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.3144, allocations: 9.453 kB / 0.5171 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.3145, allocations: 11.47 kB / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3145, allocations: 1.375 kB / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3145, allocations: 0 / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3145, allocations: 9.312 kB / 0.5171 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.3148, allocations: 394.4 kB / 0.5175 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3149, allocations: 1.375 kB / 0.5175 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.3149, allocations: 6.875 kB / 0.5175 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3149, allocations: 5.312 kB / 0.5175 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3149, allocations: 1.375 kB / 0.5175 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3149, allocations: 1.375 kB / 0.5175 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3149, allocations: 0 / 0.5175 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.3151, allocations: 212.3 kB / 0.5177 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.3151, allocations: 87.8 kB / 0.5178 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.3152, allocations: 5.312 kB / 0.5178 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.3152, allocations: 6.75 kB / 0.5178 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.3153, allocations: 6.734 kB / 0.5178 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3153, allocations: 4.125 kB / 0.5178 GB, free: 7.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.956e-05/0.3153, allocations: 119.9 kB / 0.5179 GB, free: 7.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3153, allocations: 0 / 0.5179 GB, free: 7.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.3156, allocations: 28.56 kB / 0.5179 GB, free: 7.137 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.002021/0.3176, allocations: 1.15 MB / 0.519 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.3179, allocations: 59.58 kB / 0.5191 GB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3179, allocations: 0 / 0.5191 GB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.318, allocations: 24.44 kB / 0.5191 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.3183, allocations: 29.88 kB / 0.5192 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.3201, allocations: 1.558 MB / 0.5207 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.3202, allocations: 0.7041 MB / 0.5214 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.417e-05/0.3203, allocations: 16.86 kB / 0.5214 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.3204, allocations: 31.42 kB / 0.5214 GB, free: 3.801 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3204, allocations: 0 / 0.5214 GB, free: 3.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.349, allocations: 3.569 MB / 0.5249 GB, free: 128 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.555, allocations: 4.938 kB / 0.5249 GB, free: 124 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.575209313072264]