Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001384/0.001384, allocations: 119.9 kB / 17.13 MB, free: 5.926 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.001443/0.001443, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.528/1.528, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.3458/0.3458, allocations: 44.24 MB / 326.5 MB, free: 6.785 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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.003069/0.003069, allocations: 71.91 kB / 462.2 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2943, allocations: 61 MB / 0.511 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002648/0.2969, allocations: 1.709 MB / 0.5126 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.298, allocations: 0.8102 MB / 0.5134 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.2981, allocations: 0 / 0.5134 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.2984, allocations: 90.41 kB / 0.5135 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.2987, allocations: 72.69 kB / 0.5136 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.2989, allocations: 93.45 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.299, allocations: 100.3 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.647e-05/0.2991, allocations: 17.25 kB / 0.5138 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.888e-05/0.2992, allocations: 53.92 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/0.2993, allocations: 64.7 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2993, allocations: 3.688 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.2994, allocations: 47.08 kB / 0.514 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.2994, allocations: 19.23 kB / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.2995, allocations: 39.77 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.2997, allocations: 117.7 kB / 0.5141 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2997, allocations: 0 / 0.5141 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2997, allocations: 4 kB / 0.5141 GB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2997, allocations: 1.094 kB / 0.5141 GB, free: 10.81 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.0004187/0.3001, allocations: 425.8 kB / 0.5145 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3001, allocations: 13.14 kB / 0.5145 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.558e-05/0.3002, allocations: 36.14 kB / 0.5146 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.3002, allocations: 13.09 kB / 0.5146 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.3005, allocations: 208.6 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3005, allocations: 1.75 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3005, allocations: 6.312 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3006, allocations: 61.67 kB / 0.5149 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3007, allocations: 1 kB / 0.5149 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3007, allocations: 0 / 0.5149 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3007, allocations: 1.125 kB / 0.5149 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.247e-05/0.3007, allocations: 19.02 kB / 0.5149 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.3011, allocations: 295.4 kB / 0.5152 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.3012, allocations: 59.48 kB / 0.5152 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.3013, allocations: 17.08 kB / 0.5152 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3013, allocations: 1.906 kB / 0.5152 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.3014, allocations: 72.84 kB / 0.5153 GB, free: 9.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3014, allocations: 0 / 0.5153 GB, free: 9.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005411/0.302, allocations: 177.9 kB / 0.5155 GB, free: 9.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.302, allocations: 52.94 kB / 0.5155 GB, free: 9.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.3022, allocations: 225.5 kB / 0.5157 GB, free: 9.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3022, allocations: 25.7 kB / 0.5158 GB, free: 9.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.3023, allocations: 106.9 kB / 0.5159 GB, free: 9.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.3023, allocations: 18.61 kB / 0.5159 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.3023, allocations: 24.42 kB / 0.5159 GB, free: 9.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.3024, allocations: 323 kB / 0.5162 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.3024, allocations: 23 kB / 0.5162 GB, free: 8.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.3025, allocations: 43.33 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.3026, allocations: 67.88 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3026, allocations: 0 / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.3028, allocations: 104.1 kB / 0.5164 GB, free: 8.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3028, allocations: 4.125 kB / 0.5164 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3028, allocations: 5.406 kB / 0.5164 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3028, allocations: 5.312 kB / 0.5165 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.3029, allocations: 12.38 kB / 0.5165 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.3029, allocations: 1.375 kB / 0.5165 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.303, allocations: 14.67 kB / 0.5165 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.303, allocations: 2.75 kB / 0.5165 GB, free: 8.582 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 8.253e-05/0.3031, allocations: 128.8 kB / 0.5166 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.3031, allocations: 13.44 kB / 0.5166 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.3031, allocations: 18.89 kB / 0.5166 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3032, allocations: 5.375 kB / 0.5166 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3032, allocations: 0 / 0.5166 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3032, allocations: 5.312 kB / 0.5166 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.3035, allocations: 402.5 kB / 0.517 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3035, allocations: 1.375 kB / 0.517 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.3036, allocations: 6.875 kB / 0.517 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3036, allocations: 5.312 kB / 0.517 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3036, allocations: 1.375 kB / 0.517 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3036, allocations: 5.406 kB / 0.517 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3036, allocations: 0 / 0.517 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.3038, allocations: 201.7 kB / 0.5172 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.3038, allocations: 92.12 kB / 0.5173 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.3039, allocations: 5.312 kB / 0.5173 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.3039, allocations: 6.75 kB / 0.5173 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.304, allocations: 14.73 kB / 0.5174 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.304, allocations: 4.125 kB / 0.5174 GB, free: 7.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.3041, allocations: 155.4 kB / 0.5175 GB, free: 7.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3041, allocations: 0 / 0.5175 GB, free: 7.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3043, allocations: 20.5 kB / 0.5175 GB, free: 7.617 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.00198/0.3063, allocations: 1.113 MB / 0.5186 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3065, allocations: 54.84 kB / 0.5187 GB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3065, allocations: 5.625 kB / 0.5187 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.723e-05/0.3066, allocations: 26.92 kB / 0.5187 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.307, allocations: 36.28 kB / 0.5187 GB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3083, allocations: 1.687 MB / 0.5204 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.3085, allocations: 0.708 MB / 0.5211 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.397e-05/0.3085, allocations: 16.48 kB / 0.5211 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.3086, allocations: 39.42 kB / 0.5211 GB, free: 4.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3086, allocations: 0 / 0.5211 GB, free: 4.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.3327, allocations: 3.498 MB / 0.5245 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.511, allocations: 16.78 kB / 0.5246 GB, free: 0.543 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.458181226160377]