Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 213.8 kB / 22.99 MB, free: 4.605 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.457/1.457, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.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.2294/0.2294, allocations: 44.26 MB / 330.3 MB, free: 9.414 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 75.89 kB / 467.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1236, allocations: 61.04 MB / 0.5162 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003572/0.1272, allocations: 1.692 MB / 0.5179 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1287, allocations: 0.7729 MB / 0.5186 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.1287, allocations: 7.938 kB / 0.5186 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.129, allocations: 35.77 kB / 0.5187 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.1292, allocations: 59.77 kB / 0.5187 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.1295, allocations: 91.75 kB / 0.5188 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1297, allocations: 91.77 kB / 0.5189 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1298, allocations: 12.16 kB / 0.5189 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.1299, allocations: 39.83 kB / 0.5189 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.13, allocations: 39.67 kB / 0.519 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.13, allocations: 4 kB / 0.519 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1301, allocations: 47.97 kB / 0.519 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.1302, allocations: 15.92 kB / 0.519 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.1302, allocations: 23.88 kB / 0.5191 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.1305, allocations: 107.6 kB / 0.5192 GB, free: 4.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1305, allocations: 7.938 kB / 0.5192 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1305, allocations: 4 kB / 0.5192 GB, free: 4.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1305, allocations: 0 / 0.5192 GB, free: 4.078 MB / 398.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.0005788/0.1311, allocations: 329.7 kB / 0.5195 GB, free: 3.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1311, allocations: 8.031 kB / 0.5195 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1312, allocations: 34.75 kB / 0.5195 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.1312, allocations: 12.89 kB / 0.5195 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1315, allocations: 142.3 kB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1315, allocations: 4.375 kB / 0.5197 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1315, allocations: 11.88 kB / 0.5197 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1317, allocations: 61.59 kB / 0.5198 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1317, allocations: 3.953 kB / 0.5198 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1317, allocations: 4 kB / 0.5198 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1317, allocations: 4 kB / 0.5198 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.1318, allocations: 19.98 kB / 0.5198 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.1322, allocations: 248 kB / 0.52 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1323, allocations: 58.61 kB / 0.5201 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.1324, allocations: 24.84 kB / 0.5201 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1324, allocations: 0 / 0.5201 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.1326, allocations: 71.39 kB / 0.5202 GB, free: 2.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1326, allocations: 0 / 0.5202 GB, free: 2.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00057/0.1332, allocations: 181.4 kB / 0.5203 GB, free: 2.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1332, allocations: 51.41 kB / 0.5204 GB, free: 2.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1334, allocations: 174.2 kB / 0.5206 GB, free: 2.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.1334, allocations: 33.7 kB / 0.5206 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.1335, allocations: 104.1 kB / 0.5207 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.1336, allocations: 27.84 kB / 0.5207 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.1336, allocations: 25.7 kB / 0.5207 GB, free: 2.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1338, allocations: 318.8 kB / 0.521 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.1338, allocations: 23.98 kB / 0.5211 GB, free: 1.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.1339, allocations: 45.58 kB / 0.5211 GB, free: 1.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.134, allocations: 57.72 kB / 0.5212 GB, free: 1.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.134, allocations: 0 / 0.5212 GB, free: 1.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002084/0.1342, allocations: 101.5 kB / 0.5213 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1343, allocations: 13.91 kB / 0.5213 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1343, allocations: 0 / 0.5213 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1343, allocations: 0 / 0.5213 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.1344, allocations: 19.98 kB / 0.5213 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.1344, allocations: 0 / 0.5213 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.1344, allocations: 7.938 kB / 0.5213 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1344, allocations: 4 kB / 0.5213 GB, free: 1.691 MB / 398.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 0.0001123/0.1346, allocations: 125.8 kB / 0.5214 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.1346, allocations: 7.953 kB / 0.5214 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.1348, allocations: 122.5 kB / 0.5215 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1349, allocations: 8 kB / 0.5216 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1349, allocations: 7.875 kB / 0.5216 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1349, allocations: 3.938 kB / 0.5216 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.1354, allocations: 362.4 kB / 0.5219 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1354, allocations: 3.938 kB / 0.5219 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.1354, allocations: 12 kB / 0.5219 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1354, allocations: 3.938 kB / 0.5219 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1354, allocations: 3.984 kB / 0.5219 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1354, allocations: 4 kB / 0.5219 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1354, allocations: 4.406 kB / 0.5219 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1357, allocations: 208.3 kB / 0.5221 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.1357, allocations: 15.84 kB / 0.5222 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1358, allocations: 7.938 kB / 0.5222 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.1358, allocations: 7.984 kB / 0.5222 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.1359, allocations: 8 kB / 0.5222 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.1359, allocations: 7.984 kB / 0.5222 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.136, allocations: 136.3 kB / 0.5223 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.136, allocations: 0 / 0.5223 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1363, allocations: 24 kB / 0.5223 GB, free: 0.5391 MB / 398.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 (9): * Single equations (assignments): 7 * 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.002383/0.1387, allocations: 1.128 MB / 0.5234 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.1389, allocations: 59.91 kB / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1389, allocations: 4.062 kB / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.1389, allocations: 35.92 kB / 0.5235 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1393, allocations: 27.27 kB / 0.5236 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.1413, allocations: 1.618 MB / 0.5251 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.641e-05/0.1414, allocations: 85.31 kB / 0.5252 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.877e-05/0.1414, allocations: 20.84 kB / 0.5252 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.1415, allocations: 31.42 kB / 0.5253 GB, free: 13.45 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1415, allocations: 0 / 0.5253 GB, free: 13.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.1719, allocations: 4.011 MB / 0.5292 GB, free: 9.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.52, allocations: 3.938 kB / 0.5292 GB, free: 9.312 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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: 14.754202923271805]