Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.001415/0.001415, allocations: 111.7 kB / 19.69 MB, free: 2.207 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.001691/0.001691, allocations: 220.9 kB / 23.01 MB, free: 5.059 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.428/1.428, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.2264/0.2264, allocations: 44.23 MB / 330.3 MB, free: 9.523 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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.002211/0.002211, allocations: 74.92 kB / 467.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1194, allocations: 61.04 MB / 0.5162 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003936/0.1233, allocations: 1.957 MB / 0.5181 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1252, allocations: 0.9948 MB / 0.5191 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1253, allocations: 11.88 kB / 0.5191 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007094/0.126, allocations: 207.4 kB / 0.5193 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.1264, allocations: 151.4 kB / 0.5194 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.1269, allocations: 195.6 kB / 0.5196 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.1273, allocations: 251.2 kB / 0.5199 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1274, allocations: 26.05 kB / 0.5199 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.1276, allocations: 111.5 kB / 0.52 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1279, allocations: 111.6 kB / 0.5201 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1279, allocations: 8 kB / 0.5201 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.1281, allocations: 67.89 kB / 0.5202 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.973e-05/0.1282, allocations: 51.83 kB / 0.5202 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1283, allocations: 87.41 kB / 0.5203 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.1286, allocations: 235 kB / 0.5205 GB, free: 2.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1286, allocations: 0 / 0.5205 GB, free: 2.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1286, allocations: 0 / 0.5205 GB, free: 2.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.1286, allocations: 0 / 0.5205 GB, free: 2.816 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009381/0.1296, allocations: 482.5 kB / 0.521 GB, free: 2.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1296, allocations: 12.03 kB / 0.521 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.1297, allocations: 34.75 kB / 0.521 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.1297, allocations: 28.78 kB / 0.5211 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.1301, allocations: 229.4 kB / 0.5213 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1301, allocations: 4.375 kB / 0.5213 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.1302, allocations: 11.94 kB / 0.5213 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.1305, allocations: 104.1 kB / 0.5214 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1305, allocations: 0 / 0.5214 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.1305, allocations: 4 kB / 0.5214 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1305, allocations: 0 / 0.5214 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.1307, allocations: 47.91 kB / 0.5214 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.1314, allocations: 340.7 kB / 0.5218 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.1319, allocations: 113.2 kB / 0.5219 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.132, allocations: 41.7 kB / 0.5219 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.1321, allocations: 7.984 kB / 0.5219 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.1324, allocations: 117 kB / 0.522 GB, free: 1.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.234e-06/0.1324, allocations: 0 / 0.522 GB, free: 1.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007062/0.1331, allocations: 181.9 kB / 0.5222 GB, free: 0.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.1332, allocations: 102.8 kB / 0.5223 GB, free: 0.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.1338, allocations: 336.2 kB / 0.5226 GB, free: 468 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.1338, allocations: 25.7 kB / 0.5226 GB, free: 436 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.134, allocations: 136.1 kB / 0.5228 GB, free: 296 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.134, allocations: 31.73 kB / 0.5228 GB, free: 264 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1341, allocations: 37.7 kB / 0.5228 GB, free: 220 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002852/0.1344, allocations: 342.8 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1346, allocations: 31.92 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.1348, allocations: 77.12 kB / 0.5233 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.1351, allocations: 99.45 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1351, allocations: 4 kB / 0.5234 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005894/0.1357, allocations: 149.3 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.1357, allocations: 8 kB / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1358, allocations: 0 / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.1358, allocations: 3.984 kB / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.136, allocations: 24.06 kB / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.136, allocations: 3.984 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.1361, allocations: 23.83 kB / 0.5236 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1362, allocations: 4 kB / 0.5236 GB, free: 15.41 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000242/0.1364, allocations: 145.8 kB / 0.5237 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.1365, allocations: 23.86 kB / 0.5237 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005335/0.137, allocations: 167.5 kB / 0.5239 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.137, allocations: 4 kB / 0.5239 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.137, allocations: 4 kB / 0.5239 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.137, allocations: 3.938 kB / 0.5239 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.1374, allocations: 224.6 kB / 0.5241 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1374, allocations: 0 / 0.5241 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.1375, allocations: 8 kB / 0.5241 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1375, allocations: 0 / 0.5241 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.1375, allocations: 8 kB / 0.5241 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1375, allocations: 0 / 0.5241 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1375, allocations: 0 / 0.5241 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.138, allocations: 189.6 kB / 0.5243 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.138, allocations: 23.86 kB / 0.5243 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.1381, allocations: 8 kB / 0.5244 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1382, allocations: 7.984 kB / 0.5244 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.1383, allocations: 15.92 kB / 0.5244 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.1383, allocations: 4 kB / 0.5244 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004446/0.1388, allocations: 251 kB / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1388, allocations: 0 / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004515/0.1392, allocations: 32 kB / 0.5247 GB, free: 14.24 MB / 414.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.003009/0.1422, allocations: 1.037 MB / 0.5257 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.1427, allocations: 91.89 kB / 0.5258 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1427, allocations: 0 / 0.5258 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1429, allocations: 43.92 kB / 0.5258 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.1435, allocations: 61.95 kB / 0.5259 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.1478, allocations: 2.287 MB / 0.5281 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.1483, allocations: 0.7437 MB / 0.5288 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.1485, allocations: 41.84 kB / 0.5289 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.1486, allocations: 67.41 kB / 0.5289 GB, free: 9.754 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1486, allocations: 0 / 0.5289 GB, free: 9.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.1936, allocations: 5.849 MB / 0.5346 GB, free: 3.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.41, allocations: 3.938 kB / 0.5346 GB, free: 3.809 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.664530103094876]