Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.001812/0.001812, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002446/0.002446, allocations: 215.5 kB / 23.78 MB, free: 4.523 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.465/1.465, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2396/0.2396, allocations: 44.26 MB / 331.1 MB, free: 9.312 MB / 270.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.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",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.002237/0.002237, allocations: 71.89 kB / 468.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1245, allocations: 61.04 MB / 0.517 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003585/0.1281, allocations: 1.686 MB / 0.5186 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1295, allocations: 0.77 MB / 0.5194 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/0.1296, allocations: 4 kB / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.13, allocations: 99.67 kB / 0.5195 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1302, allocations: 71.73 kB / 0.5195 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1305, allocations: 95.69 kB / 0.5196 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1307, allocations: 107.7 kB / 0.5197 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.1308, allocations: 16.14 kB / 0.5197 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.1309, allocations: 51.83 kB / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1311, allocations: 75.67 kB / 0.5199 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1311, allocations: 4 kB / 0.5199 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1312, allocations: 47.98 kB / 0.5199 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.1312, allocations: 23.91 kB / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.1313, allocations: 23.81 kB / 0.52 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.1315, allocations: 127.4 kB / 0.5201 GB, free: 3.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1315, allocations: 4 kB / 0.5201 GB, free: 3.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1315, allocations: 0 / 0.5201 GB, free: 3.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1315, allocations: 0 / 0.5201 GB, free: 3.914 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.0005494/0.1321, allocations: 345.6 kB / 0.5204 GB, free: 3.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1321, allocations: 8.031 kB / 0.5204 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.25e-05/0.1322, allocations: 12.19 kB / 0.5204 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.1322, allocations: 30.75 kB / 0.5205 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.1322, allocations: 16.84 kB / 0.5205 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.1325, allocations: 154.3 kB / 0.5206 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1325, allocations: 12.12 kB / 0.5206 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.1326, allocations: 0 / 0.5206 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1328, allocations: 65.59 kB / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1328, allocations: 0 / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1328, allocations: 0 / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1328, allocations: 0 / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.1329, allocations: 19.98 kB / 0.5207 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.1333, allocations: 256 kB / 0.521 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1335, allocations: 62.61 kB / 0.521 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/0.1335, allocations: 20.84 kB / 0.521 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1335, allocations: 4 kB / 0.521 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.1337, allocations: 67.33 kB / 0.5211 GB, free: 2.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1337, allocations: 0 / 0.5211 GB, free: 2.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005888/0.1343, allocations: 189.3 kB / 0.5213 GB, free: 2.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.1343, allocations: 51.41 kB / 0.5213 GB, free: 2.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.1346, allocations: 234.7 kB / 0.5216 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1346, allocations: 25.7 kB / 0.5216 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.1347, allocations: 116.1 kB / 0.5217 GB, free: 2.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.1347, allocations: 23.84 kB / 0.5217 GB, free: 2.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.1348, allocations: 21.7 kB / 0.5217 GB, free: 2.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1349, allocations: 322.8 kB / 0.5221 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.135, allocations: 23.98 kB / 0.5221 GB, free: 1.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.1351, allocations: 45.58 kB / 0.5221 GB, free: 1.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1352, allocations: 61.7 kB / 0.5222 GB, free: 1.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1352, allocations: 0 / 0.5222 GB, free: 1.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002093/0.1354, allocations: 105.5 kB / 0.5223 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1354, allocations: 4 kB / 0.5223 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.1354, allocations: 0 / 0.5223 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1355, allocations: 3.984 kB / 0.5223 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1356, allocations: 24.36 kB / 0.5223 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1356, allocations: 3.938 kB / 0.5223 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.1356, allocations: 8 kB / 0.5223 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1356, allocations: 0 / 0.5223 GB, free: 1.41 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.0001334/0.1358, allocations: 133.8 kB / 0.5224 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1358, allocations: 15.98 kB / 0.5225 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1361, allocations: 126.9 kB / 0.5226 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1361, allocations: 4 kB / 0.5226 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1361, allocations: 3.938 kB / 0.5226 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1361, allocations: 0 / 0.5226 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.1366, allocations: 370.4 kB / 0.5229 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1366, allocations: 0 / 0.5229 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.1366, allocations: 12 kB / 0.523 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1366, allocations: 3.938 kB / 0.523 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1366, allocations: 4.031 kB / 0.523 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.1366, allocations: 7.984 kB / 0.523 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1366, allocations: 240 / 0.523 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1369, allocations: 216.2 kB / 0.5232 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.1369, allocations: 19.77 kB / 0.5232 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.137, allocations: 0 / 0.5232 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.137, allocations: 7.984 kB / 0.5232 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.1371, allocations: 4 kB / 0.5232 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1371, allocations: 8.359 kB / 0.5232 GB, free: 412 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1373, allocations: 172.3 kB / 0.5234 GB, free: 240 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1373, allocations: 4 kB / 0.5234 GB, free: 236 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1375, allocations: 27.98 kB / 0.5234 GB, free: 208 kB / 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.00239/0.1399, allocations: 1.133 MB / 0.5245 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1401, allocations: 55.97 kB / 0.5246 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1401, allocations: 4 kB / 0.5246 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.1402, allocations: 31.92 kB / 0.5246 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1406, allocations: 31.52 kB / 0.5246 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.1428, allocations: 1.743 MB / 0.5263 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.1429, allocations: 96.86 kB / 0.5264 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.189e-05/0.143, allocations: 16.78 kB / 0.5264 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.1431, allocations: 39.42 kB / 0.5265 GB, free: 12.97 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1431, allocations: 0 / 0.5265 GB, free: 12.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.1675, allocations: 3.898 MB / 0.5303 GB, free: 8.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/11.96, allocations: 4.062 kB / 0.5303 GB, free: 8.957 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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: 15.371036361088045]