Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.001416/0.001416, allocations: 112.2 kB / 17.12 MB, free: 5.941 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.001328/0.001328, allocations: 192.6 kB / 20.08 MB, free: 3 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.53/1.53, allocations: 207.6 MB / 230.4 MB, free: 4.02 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.3679/0.3679, allocations: 44.24 MB / 326.5 MB, free: 6.805 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.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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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.002357/0.002357, allocations: 79.88 kB / 462.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3035, allocations: 60.99 MB / 0.511 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002891/0.3064, allocations: 1.715 MB / 0.5126 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3081, allocations: 1.426 MB / 0.514 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.259e-05/0.3082, allocations: 1.438 kB / 0.514 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.3085, allocations: 35.16 kB / 0.5141 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.3088, allocations: 58.89 kB / 0.5141 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.309, allocations: 89.8 kB / 0.5142 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.3091, allocations: 93.34 kB / 0.5143 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.3092, allocations: 8.406 kB / 0.5143 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.787e-05/0.3093, allocations: 44.41 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.3094, allocations: 48.89 kB / 0.5144 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.3095, allocations: 9.344 kB / 0.5144 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.3096, allocations: 60.22 kB / 0.5145 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.3096, allocations: 16.33 kB / 0.5145 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.3097, allocations: 31.3 kB / 0.5145 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.3099, allocations: 122 kB / 0.5146 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3099, allocations: 0 / 0.5146 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3099, allocations: 0 / 0.5146 GB, free: 10.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3099, allocations: 0 / 0.5146 GB, free: 10.31 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.0004456/0.3103, allocations: 411.4 kB / 0.515 GB, free: 9.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3103, allocations: 16.48 kB / 0.515 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.3104, allocations: 32.12 kB / 0.5151 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3104, allocations: 9.047 kB / 0.5151 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3107, allocations: 213.5 kB / 0.5153 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3107, allocations: 2.469 kB / 0.5153 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3107, allocations: 5.812 kB / 0.5153 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3109, allocations: 66.64 kB / 0.5154 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3109, allocations: 3.984 kB / 0.5154 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3109, allocations: 8.906 kB / 0.5154 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3109, allocations: 1.562 kB / 0.5154 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/0.311, allocations: 17.92 kB / 0.5154 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.3113, allocations: 292.2 kB / 0.5157 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3114, allocations: 47.19 kB / 0.5157 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.3115, allocations: 25.09 kB / 0.5157 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.3115, allocations: 1.375 kB / 0.5157 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.3116, allocations: 69.14 kB / 0.5158 GB, free: 9.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3116, allocations: 3.938 kB / 0.5158 GB, free: 9.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005127/0.3122, allocations: 161.1 kB / 0.516 GB, free: 8.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.3122, allocations: 78.48 kB / 0.516 GB, free: 8.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3123, allocations: 168.2 kB / 0.5162 GB, free: 8.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3123, allocations: 31.06 kB / 0.5162 GB, free: 8.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.3124, allocations: 90.89 kB / 0.5163 GB, free: 8.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3124, allocations: 31.89 kB / 0.5163 GB, free: 8.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.3124, allocations: 28.59 kB / 0.5164 GB, free: 8.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.3125, allocations: 321.6 kB / 0.5167 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.3125, allocations: 18.98 kB / 0.5167 GB, free: 8.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.3126, allocations: 45.69 kB / 0.5167 GB, free: 8.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3127, allocations: 62.47 kB / 0.5168 GB, free: 8.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3127, allocations: 3.938 kB / 0.5168 GB, free: 8.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001688/0.3129, allocations: 98.75 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3129, allocations: 5.312 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3129, allocations: 1.406 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3129, allocations: 1.375 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.313, allocations: 20.2 kB / 0.5169 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.313, allocations: 5.625 kB / 0.5169 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.3131, allocations: 6.781 kB / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.3131, allocations: 1.656 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 7.522e-05/0.3131, allocations: 120.4 kB / 0.517 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3132, allocations: 8.484 kB / 0.5171 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.3132, allocations: 20.28 kB / 0.5171 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3132, allocations: 0.9688 kB / 0.5171 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3132, allocations: 0.875 kB / 0.5171 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3132, allocations: 7.938 kB / 0.5171 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.3136, allocations: 387.4 kB / 0.5175 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3136, allocations: 1.312 kB / 0.5175 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.3136, allocations: 11.52 kB / 0.5175 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3136, allocations: 3.938 kB / 0.5175 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3136, allocations: 6.719 kB / 0.5175 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3136, allocations: 0 / 0.5175 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3136, allocations: 9.469 kB / 0.5175 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.3138, allocations: 200 kB / 0.5177 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.3139, allocations: 87.38 kB / 0.5178 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.3139, allocations: 9.672 kB / 0.5178 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.314, allocations: 2.188 kB / 0.5178 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.314, allocations: 7.5 kB / 0.5178 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.314, allocations: 7.141 kB / 0.5178 GB, free: 7.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.618e-05/0.3141, allocations: 121.6 kB / 0.5179 GB, free: 7.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3141, allocations: 0 / 0.5179 GB, free: 7.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.3144, allocations: 32.08 kB / 0.5179 GB, free: 7.129 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.002045/0.3164, allocations: 1.144 MB / 0.519 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.3166, allocations: 60 kB / 0.5191 GB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3166, allocations: 0 / 0.5191 GB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.595e-05/0.3167, allocations: 27.83 kB / 0.5191 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.317, allocations: 25.78 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.001258/0.3182, allocations: 1.557 MB / 0.5207 GB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.3184, allocations: 0.6963 MB / 0.5214 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.379e-05/0.3184, allocations: 17.33 kB / 0.5214 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.3185, allocations: 35.42 kB / 0.5214 GB, free: 3.809 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3185, allocations: 0 / 0.5214 GB, free: 3.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.3456, allocations: 3.574 MB / 0.5249 GB, free: 132 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.551, allocations: 8.797 kB / 0.5249 GB, free: 124 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.482659135013819]