Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.001808/0.001808, allocations: 117.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.002037/0.002037, allocations: 192.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.516/1.516, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.828 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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.002169/0.002169, allocations: 75.89 kB / 462.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3216, allocations: 60.98 MB / 0.511 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003762/0.3254, allocations: 2.021 MB / 0.5129 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3267, allocations: 0.9022 MB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.3268, allocations: 5.5 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.3272, allocations: 48.48 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.3274, allocations: 75.17 kB / 0.5139 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.3277, allocations: 126.2 kB / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.328, allocations: 194 kB / 0.5142 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3281, allocations: 30.59 kB / 0.5143 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.3283, allocations: 86.09 kB / 0.5144 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3284, allocations: 76.67 kB / 0.5144 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.3284, allocations: 17.64 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3285, allocations: 51.8 kB / 0.5145 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.3286, allocations: 36.62 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.3287, allocations: 72.03 kB / 0.5146 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.3289, allocations: 189.1 kB / 0.5148 GB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.329, allocations: 0 / 0.5148 GB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.329, allocations: 0 / 0.5148 GB, free: 10.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.329, allocations: 5.312 kB / 0.5148 GB, free: 10.28 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008813/0.3298, allocations: 0.5699 MB / 0.5153 GB, free: 9.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3299, allocations: 13.48 kB / 0.5154 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.3299, allocations: 40.11 kB / 0.5154 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.33, allocations: 18.47 kB / 0.5154 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.3303, allocations: 248.4 kB / 0.5156 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3303, allocations: 15.11 kB / 0.5157 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.3304, allocations: 10.81 kB / 0.5157 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.3307, allocations: 145.8 kB / 0.5158 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3308, allocations: 0 / 0.5158 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3308, allocations: 5.25 kB / 0.5158 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3308, allocations: 2.031 kB / 0.5158 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.3312, allocations: 111.3 kB / 0.5159 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.3318, allocations: 0.5497 MB / 0.5165 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.3324, allocations: 152.8 kB / 0.5166 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.3326, allocations: 71.08 kB / 0.5167 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.3326, allocations: 9.203 kB / 0.5167 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/0.333, allocations: 137.8 kB / 0.5168 GB, free: 8.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.333, allocations: 0 / 0.5168 GB, free: 8.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008495/0.3338, allocations: 256.4 kB / 0.5171 GB, free: 8.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3339, allocations: 54.16 kB / 0.5171 GB, free: 8.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.3341, allocations: 226.7 kB / 0.5173 GB, free: 8.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3341, allocations: 27.08 kB / 0.5174 GB, free: 8.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.3342, allocations: 120.6 kB / 0.5175 GB, free: 7.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.3342, allocations: 49.31 kB / 0.5175 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.3343, allocations: 34.08 kB / 0.5175 GB, free: 7.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.3344, allocations: 332.3 kB / 0.5179 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.3346, allocations: 67.69 kB / 0.5179 GB, free: 7.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.3348, allocations: 109.4 kB / 0.518 GB, free: 7.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.3353, allocations: 200.4 kB / 0.5182 GB, free: 7.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3353, allocations: 0 / 0.5182 GB, free: 7.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005478/0.3358, allocations: 259.9 kB / 0.5185 GB, free: 6.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.3359, allocations: 41.81 kB / 0.5185 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3359, allocations: 0 / 0.5185 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3359, allocations: 7.938 kB / 0.5185 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.3361, allocations: 31.97 kB / 0.5185 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3361, allocations: 7.984 kB / 0.5186 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.3362, allocations: 31.86 kB / 0.5186 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3363, allocations: 4 kB / 0.5186 GB, free: 6.836 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 9.466e-05/0.3363, allocations: 137.8 kB / 0.5187 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3364, allocations: 15.91 kB / 0.5187 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.3364, allocations: 21.41 kB / 0.5188 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3364, allocations: 3.938 kB / 0.5188 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3364, allocations: 0 / 0.5188 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3364, allocations: 3.984 kB / 0.5188 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3366, allocations: 233.5 kB / 0.519 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3366, allocations: 0 / 0.519 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3367, allocations: 23.97 kB / 0.519 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3367, allocations: 0 / 0.519 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3367, allocations: 8 kB / 0.519 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3367, allocations: 3.938 kB / 0.519 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3368, allocations: 7.922 kB / 0.519 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.3375, allocations: 300.8 kB / 0.5193 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.3375, allocations: 96.97 kB / 0.5194 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3375, allocations: 4 kB / 0.5194 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3377, allocations: 27.91 kB / 0.5194 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.3377, allocations: 11.98 kB / 0.5195 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3378, allocations: 4 kB / 0.5195 GB, free: 5.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.752e-05/0.3379, allocations: 168.6 kB / 0.5196 GB, free: 5.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3379, allocations: 4.062 kB / 0.5196 GB, free: 5.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.3381, allocations: 43.94 kB / 0.5197 GB, free: 5.633 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002248/0.3403, allocations: 1.153 MB / 0.5208 GB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005766/0.3409, allocations: 211.2 kB / 0.521 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3409, allocations: 4.25 kB / 0.521 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.3412, allocations: 79.81 kB / 0.5211 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.3415, allocations: 43.91 kB / 0.5211 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.3441, allocations: 2.166 MB / 0.5232 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.3442, allocations: 0.728 MB / 0.5239 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.568e-05/0.3443, allocations: 25.48 kB / 0.524 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.3444, allocations: 51.41 kB / 0.524 GB, free: 1.051 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3444, allocations: 0 / 0.524 GB, free: 1.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.3747, allocations: 4.961 MB / 0.5289 GB, free: 12.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.645, allocations: 0 / 0.5289 GB, free: 12.01 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable trapezoid1.T_start in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.T_start from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! Error: Could not read variable trapezoid1.count in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.count from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.591191726736724]