Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.001426/0.001426, allocations: 109.2 kB / 20.48 MB, free: 1.492 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.002243/0.002243, allocations: 215.8 kB / 23.79 MB, free: 4.703 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.663/1.663, allocations: 207.6 MB / 234.5 MB, free: 10.02 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.3027/0.3027, allocations: 44.24 MB / 331.1 MB, free: 9.625 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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.002331/0.002331, allocations: 63.91 kB / 468.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1221, allocations: 61.05 MB / 0.517 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003637/0.1258, allocations: 1.866 MB / 0.5188 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1274, allocations: 0.9208 MB / 0.5197 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.1275, allocations: 7.938 kB / 0.5197 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.1281, allocations: 223.4 kB / 0.5199 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.1284, allocations: 163.4 kB / 0.5201 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.1288, allocations: 151.7 kB / 0.5202 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.1292, allocations: 227.3 kB / 0.5204 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1293, allocations: 21.72 kB / 0.5205 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.1295, allocations: 123.6 kB / 0.5206 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.1297, allocations: 159.5 kB / 0.5207 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.1297, allocations: 12 kB / 0.5207 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1299, allocations: 47.92 kB / 0.5208 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.13, allocations: 63.77 kB / 0.5208 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.813e-05/0.1301, allocations: 79.36 kB / 0.5209 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.1304, allocations: 211 kB / 0.5211 GB, free: 3.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1304, allocations: 3.984 kB / 0.5211 GB, free: 3.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1304, allocations: 0 / 0.5211 GB, free: 3.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1304, allocations: 0 / 0.5211 GB, free: 3.023 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000744/0.1311, allocations: 480.6 kB / 0.5216 GB, free: 2.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1312, allocations: 12.03 kB / 0.5216 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.22e-05/0.1312, allocations: 8.125 kB / 0.5216 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.1312, allocations: 34.73 kB / 0.5216 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.1313, allocations: 32.75 kB / 0.5217 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.1317, allocations: 210.5 kB / 0.5219 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1317, allocations: 8.125 kB / 0.5219 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1318, allocations: 4 kB / 0.5219 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.132, allocations: 115.2 kB / 0.522 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.132, allocations: 0 / 0.522 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1321, allocations: 0 / 0.522 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1321, allocations: 4 kB / 0.522 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1322, allocations: 39.97 kB / 0.522 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.1328, allocations: 420 kB / 0.5224 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.1331, allocations: 117.3 kB / 0.5225 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.1332, allocations: 37.64 kB / 0.5226 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1332, allocations: 4 kB / 0.5226 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.1335, allocations: 113 kB / 0.5227 GB, free: 1.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.1335, allocations: 0 / 0.5227 GB, free: 1.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009414/0.1344, allocations: 377 kB / 0.5231 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.1345, allocations: 81.11 kB / 0.5231 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.1349, allocations: 432.5 kB / 0.5235 GB, free: 356 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1349, allocations: 25.7 kB / 0.5236 GB, free: 324 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1351, allocations: 160.3 kB / 0.5237 GB, free: 160 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.1351, allocations: 47.64 kB / 0.5238 GB, free: 112 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.1352, allocations: 33.72 kB / 0.5238 GB, free: 72 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1354, allocations: 342.8 kB / 0.5241 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1355, allocations: 35.98 kB / 0.5242 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1356, allocations: 79.53 kB / 0.5242 GB, free: 15.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.1358, allocations: 119.6 kB / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1358, allocations: 4 kB / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003436/0.1362, allocations: 185.4 kB / 0.5245 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1362, allocations: 4 kB / 0.5245 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1362, allocations: 4 kB / 0.5245 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1362, allocations: 7.875 kB / 0.5245 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1364, allocations: 43.91 kB / 0.5246 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1364, allocations: 3.938 kB / 0.5246 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.786e-05/0.1365, allocations: 4 kB / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1365, allocations: 8 kB / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000162/0.1366, allocations: 161.8 kB / 0.5248 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.1367, allocations: 35.77 kB / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.1371, allocations: 216.2 kB / 0.525 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.1371, allocations: 7.938 kB / 0.525 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1371, allocations: 0 / 0.525 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1371, allocations: 0 / 0.525 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.1379, allocations: 0.596 MB / 0.5256 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1379, allocations: 0 / 0.5256 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.138, allocations: 19.94 kB / 0.5256 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.138, allocations: 0 / 0.5256 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.138, allocations: 7.984 kB / 0.5256 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.138, allocations: 4 kB / 0.5256 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.138, allocations: 0 / 0.5256 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.1385, allocations: 364.3 kB / 0.526 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.1385, allocations: 27.81 kB / 0.526 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.1385, allocations: 4 kB / 0.526 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1387, allocations: 11.98 kB / 0.526 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.1387, allocations: 15.91 kB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.1388, allocations: 12 kB / 0.526 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003192/0.1391, allocations: 323 kB / 0.5263 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1391, allocations: 0 / 0.5263 GB, free: 13.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.1394, allocations: 39.94 kB / 0.5264 GB, free: 13.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002484/0.1419, allocations: 1.261 MB / 0.5276 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.1422, allocations: 112.1 kB / 0.5277 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1422, allocations: 0 / 0.5277 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1424, allocations: 52.22 kB / 0.5278 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.143, allocations: 60.92 kB / 0.5278 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.1475, allocations: 2.637 MB / 0.5304 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.148, allocations: 0.7703 MB / 0.5311 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1481, allocations: 30.08 kB / 0.5312 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1482, allocations: 87.34 kB / 0.5313 GB, free: 8.164 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1482, allocations: 0 / 0.5313 GB, free: 8.164 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.177, allocations: 6.005 MB / 0.5371 GB, free: 2.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.76, allocations: 12.19 kB / 0.5371 GB, free: 2.043 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.537393258011434]