Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.001434/0.001434, allocations: 119.3 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.001379/0.001379, 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.599/1.599, allocations: 207.6 MB / 230.5 MB, free: 4.047 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.3457/0.3457, allocations: 44.24 MB / 326.5 MB, free: 6.832 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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",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.002174/0.002174, allocations: 80.39 kB / 462.2 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2944, allocations: 60.99 MB / 0.511 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002659/0.2971, allocations: 1.704 MB / 0.5126 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2983, allocations: 0.8154 MB / 0.5134 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.2983, allocations: 3.938 kB / 0.5134 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.2986, allocations: 48.02 kB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.2989, allocations: 59.06 kB / 0.5135 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.2991, allocations: 102.7 kB / 0.5136 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.2993, allocations: 87.39 kB / 0.5137 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2994, allocations: 16.33 kB / 0.5137 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.2995, allocations: 39.83 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.2995, allocations: 30.16 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2996, allocations: 4.062 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.2997, allocations: 38.11 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.2997, allocations: 29.53 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.2998, allocations: 43.42 kB / 0.5139 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.3, allocations: 122.3 kB / 0.514 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3, allocations: 0 / 0.514 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3, allocations: 1.312 kB / 0.514 GB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3, allocations: 0 / 0.514 GB, free: 10.9 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.0004728/0.3004, allocations: 427.1 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3005, allocations: 13.39 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.676e-05/0.3005, allocations: 31.88 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.3005, allocations: 17.58 kB / 0.5145 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3008, allocations: 212.5 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3008, allocations: 11.19 kB / 0.5147 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3008, allocations: 9.578 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.301, allocations: 55.02 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.301, allocations: 4 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.301, allocations: 0 / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.301, allocations: 1.688 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.3011, allocations: 22.2 kB / 0.5148 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.3014, allocations: 287.9 kB / 0.5151 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3015, allocations: 60.83 kB / 0.5151 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.3016, allocations: 15.48 kB / 0.5151 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3016, allocations: 1.531 kB / 0.5152 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.3018, allocations: 64.61 kB / 0.5152 GB, free: 9.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3018, allocations: 4 kB / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005099/0.3023, allocations: 179.1 kB / 0.5154 GB, free: 9.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.3023, allocations: 52.62 kB / 0.5154 GB, free: 9.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.3025, allocations: 232.4 kB / 0.5157 GB, free: 9.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.3025, allocations: 31.02 kB / 0.5157 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.3026, allocations: 105.6 kB / 0.5158 GB, free: 9.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.3026, allocations: 27.91 kB / 0.5158 GB, free: 9.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.3026, allocations: 24.59 kB / 0.5158 GB, free: 9.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.3027, allocations: 327 kB / 0.5162 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.3027, allocations: 30.86 kB / 0.5162 GB, free: 8.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.3028, allocations: 35.45 kB / 0.5162 GB, free: 8.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3029, allocations: 58.52 kB / 0.5163 GB, free: 8.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3029, allocations: 0 / 0.5163 GB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001687/0.3031, allocations: 112.1 kB / 0.5164 GB, free: 8.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3031, allocations: 5.5 kB / 0.5164 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3031, allocations: 1.375 kB / 0.5164 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3031, allocations: 0 / 0.5164 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/0.3032, allocations: 17.73 kB / 0.5164 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3032, allocations: 1.375 kB / 0.5164 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.3033, allocations: 5.312 kB / 0.5164 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3033, allocations: 6.75 kB / 0.5164 GB, free: 8.656 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.034e-05/0.3033, allocations: 130.1 kB / 0.5165 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.3034, allocations: 13.48 kB / 0.5166 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.3034, allocations: 16.28 kB / 0.5166 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3034, allocations: 5.359 kB / 0.5166 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3034, allocations: 0 / 0.5166 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3034, allocations: 3.938 kB / 0.5166 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.3038, allocations: 401.7 kB / 0.517 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3038, allocations: 0 / 0.517 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.3038, allocations: 12.25 kB / 0.517 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3038, allocations: 11.95 kB / 0.517 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3039, allocations: 6.734 kB / 0.517 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3039, allocations: 0 / 0.517 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3039, allocations: 1.375 kB / 0.517 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.304, allocations: 204.2 kB / 0.5172 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.3041, allocations: 85.19 kB / 0.5173 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3041, allocations: 5.312 kB / 0.5173 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.3042, allocations: 14.67 kB / 0.5173 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.3042, allocations: 6.75 kB / 0.5173 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3042, allocations: 4.125 kB / 0.5173 GB, free: 7.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.3043, allocations: 168.8 kB / 0.5175 GB, free: 7.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3043, allocations: 0 / 0.5175 GB, free: 7.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3046, allocations: 24.44 kB / 0.5175 GB, free: 7.68 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.001975/0.3065, allocations: 1.106 MB / 0.5186 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.3067, allocations: 60.75 kB / 0.5186 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3067, allocations: 0 / 0.5186 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.3068, allocations: 27.23 kB / 0.5186 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3072, allocations: 21.86 kB / 0.5187 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.3087, allocations: 1.729 MB / 0.5204 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3089, allocations: 0.708 MB / 0.521 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.719e-05/0.3089, allocations: 16.88 kB / 0.5211 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.309, allocations: 35.42 kB / 0.5211 GB, free: 4.152 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.309, allocations: 4 kB / 0.5211 GB, free: 4.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.332, allocations: 3.573 MB / 0.5246 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.445, allocations: 4.812 kB / 0.5246 GB, free: 0.5 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.467205732129514]