Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.001386/0.001386, allocations: 113.9 kB / 17.13 MB, free: 5.914 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.001249/0.001249, allocations: 191.7 kB / 20.07 MB, free: 2.984 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.555/1.555, 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.3447/0.3447, allocations: 44.23 MB / 326.5 MB, free: 6.852 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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",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.002553/0.002553, allocations: 75.88 kB / 462.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3219, allocations: 60.99 MB / 0.511 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003193/0.3251, allocations: 1.722 MB / 0.5127 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3262, allocations: 0.8028 MB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.3262, allocations: 1.469 kB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.3266, allocations: 50.73 kB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.3267, allocations: 54.08 kB / 0.5135 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.327, allocations: 85.47 kB / 0.5136 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.3271, allocations: 99.06 kB / 0.5137 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.35e-05/0.3272, allocations: 16.45 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.3273, allocations: 38.23 kB / 0.5138 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.3273, allocations: 38.58 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3274, allocations: 4.062 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.3274, allocations: 33.81 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.3275, allocations: 27.36 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.3275, allocations: 36.2 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3277, allocations: 119.3 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3277, allocations: 0 / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3277, allocations: 1.344 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3277, allocations: 0 / 0.514 GB, free: 10.93 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.0004543/0.3282, allocations: 421 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3282, allocations: 12.45 kB / 0.5144 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.3283, allocations: 32 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.3283, allocations: 13.83 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3285, allocations: 213.6 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3286, allocations: 5.062 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.3286, allocations: 6.156 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.3287, allocations: 54.23 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3287, allocations: 4 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3287, allocations: 1.062 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3287, allocations: 0 / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.3288, allocations: 22.58 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.3291, allocations: 287.2 kB / 0.515 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.3292, allocations: 60.33 kB / 0.5151 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.3293, allocations: 23.78 kB / 0.5151 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3293, allocations: 1.344 kB / 0.5151 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.3294, allocations: 65.86 kB / 0.5152 GB, free: 9.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3294, allocations: 0 / 0.5152 GB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005028/0.3299, allocations: 177.5 kB / 0.5154 GB, free: 9.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.33, allocations: 60.62 kB / 0.5154 GB, free: 9.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.3301, allocations: 199.5 kB / 0.5156 GB, free: 9.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.3301, allocations: 27.2 kB / 0.5156 GB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.3302, allocations: 100.9 kB / 0.5157 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.3302, allocations: 28.84 kB / 0.5158 GB, free: 9.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3302, allocations: 18.88 kB / 0.5158 GB, free: 9.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.3303, allocations: 326.5 kB / 0.5161 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.3304, allocations: 23.55 kB / 0.5161 GB, free: 8.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.3304, allocations: 39.64 kB / 0.5161 GB, free: 8.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.832e-05/0.3305, allocations: 58.36 kB / 0.5162 GB, free: 8.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3305, allocations: 1.188 kB / 0.5162 GB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001617/0.3307, allocations: 104.2 kB / 0.5163 GB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3307, allocations: 4.594 kB / 0.5163 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3307, allocations: 3.938 kB / 0.5163 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3307, allocations: 1.5 kB / 0.5163 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.3308, allocations: 22.02 kB / 0.5163 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3308, allocations: 0 / 0.5163 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.3309, allocations: 11.28 kB / 0.5163 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.3309, allocations: 6.531 kB / 0.5163 GB, free: 8.723 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.619e-05/0.331, allocations: 127 kB / 0.5165 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.331, allocations: 10.7 kB / 0.5165 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.331, allocations: 17.08 kB / 0.5165 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.331, allocations: 1.219 kB / 0.5165 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.331, allocations: 5.188 kB / 0.5165 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.331, allocations: 7.922 kB / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.3314, allocations: 394.7 kB / 0.5169 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3314, allocations: 0 / 0.5169 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.3314, allocations: 8.25 kB / 0.5169 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3314, allocations: 5.312 kB / 0.5169 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3314, allocations: 5.359 kB / 0.5169 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3314, allocations: 5.312 kB / 0.5169 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3314, allocations: 0 / 0.5169 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.3316, allocations: 208.3 kB / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.3316, allocations: 87.77 kB / 0.5172 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.3317, allocations: 6.688 kB / 0.5172 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.3317, allocations: 5.359 kB / 0.5172 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.3318, allocations: 8.125 kB / 0.5172 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3318, allocations: 2.75 kB / 0.5172 GB, free: 7.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.3319, allocations: 151.5 kB / 0.5174 GB, free: 7.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3319, allocations: 1.375 kB / 0.5174 GB, free: 7.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3322, allocations: 28.42 kB / 0.5174 GB, free: 7.758 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.001937/0.3341, allocations: 1.106 MB / 0.5185 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.3343, allocations: 55.53 kB / 0.5185 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3343, allocations: 3.938 kB / 0.5185 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7e-05/0.3344, allocations: 24.56 kB / 0.5185 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3347, allocations: 36.25 kB / 0.5186 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.3362, allocations: 1.663 MB / 0.5202 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.3363, allocations: 0.708 MB / 0.5209 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.704e-05/0.3363, allocations: 17.17 kB / 0.5209 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.3364, allocations: 35.42 kB / 0.5209 GB, free: 4.301 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3364, allocations: 0 / 0.5209 GB, free: 4.301 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.3609, allocations: 3.458 MB / 0.5243 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.583, allocations: 9.172 kB / 0.5243 GB, free: 0.7578 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.603176238946617]