Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.00137/0.00137, allocations: 113.8 kB / 19.69 MB, free: 2.047 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.001508/0.001508, allocations: 218 kB / 23 MB, free: 4.938 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.53/1.53, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2423/0.2423, allocations: 44.24 MB / 330.3 MB, free: 9.508 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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.002353/0.002353, allocations: 71.17 kB / 467.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1302, allocations: 61.05 MB / 0.5162 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003493/0.1336, allocations: 1.715 MB / 0.5179 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1352, allocations: 0.8312 MB / 0.5187 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.921e-05/0.1353, allocations: 4 kB / 0.5187 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.1357, allocations: 95.67 kB / 0.5188 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.1359, allocations: 67.73 kB / 0.5189 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.1362, allocations: 99.62 kB / 0.5189 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.1364, allocations: 107.7 kB / 0.519 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.1365, allocations: 12.2 kB / 0.5191 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1367, allocations: 55.77 kB / 0.5191 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.1369, allocations: 67.8 kB / 0.5192 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1369, allocations: 8 kB / 0.5192 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.137, allocations: 43.92 kB / 0.5192 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.1371, allocations: 31.84 kB / 0.5193 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.1371, allocations: 31.75 kB / 0.5193 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.1374, allocations: 119.5 kB / 0.5194 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1374, allocations: 0 / 0.5194 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1374, allocations: 0 / 0.5194 GB, free: 3.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1374, allocations: 3.938 kB / 0.5194 GB, free: 3.957 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.0005495/0.138, allocations: 349.5 kB / 0.5197 GB, free: 3.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.138, allocations: 15.97 kB / 0.5198 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.138, allocations: 34.75 kB / 0.5198 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.1381, allocations: 12.84 kB / 0.5198 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.1384, allocations: 158.3 kB / 0.52 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1384, allocations: 4.375 kB / 0.52 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1384, allocations: 3.938 kB / 0.52 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1385, allocations: 53.67 kB / 0.52 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1386, allocations: 0 / 0.52 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1386, allocations: 4 kB / 0.52 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1386, allocations: 0 / 0.52 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.1386, allocations: 23.92 kB / 0.52 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.1391, allocations: 264 kB / 0.5203 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1393, allocations: 50.69 kB / 0.5203 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.952e-05/0.1394, allocations: 20.84 kB / 0.5204 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1394, allocations: 4 kB / 0.5204 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1396, allocations: 67.33 kB / 0.5204 GB, free: 2.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1396, allocations: 4 kB / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005675/0.1401, allocations: 181.5 kB / 0.5206 GB, free: 2.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1402, allocations: 55.34 kB / 0.5207 GB, free: 2.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1404, allocations: 226.6 kB / 0.5209 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.1404, allocations: 33.7 kB / 0.5209 GB, free: 2.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.1405, allocations: 108.1 kB / 0.521 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1406, allocations: 23.84 kB / 0.521 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1406, allocations: 21.72 kB / 0.521 GB, free: 2.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1407, allocations: 330.8 kB / 0.5214 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.1408, allocations: 20 kB / 0.5214 GB, free: 1.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.1409, allocations: 33.83 kB / 0.5214 GB, free: 1.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.141, allocations: 69.7 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.141, allocations: 0 / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003255/0.1413, allocations: 101.6 kB / 0.5216 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1413, allocations: 4 kB / 0.5216 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1413, allocations: 7.984 kB / 0.5216 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1414, allocations: 3.938 kB / 0.5216 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/0.1414, allocations: 12 kB / 0.5216 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1415, allocations: 0 / 0.5216 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.1415, allocations: 11.97 kB / 0.5216 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.1415, allocations: 4 kB / 0.5216 GB, free: 1.473 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.0001162/0.1416, allocations: 129.8 kB / 0.5217 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.1417, allocations: 11.94 kB / 0.5218 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.1419, allocations: 126.9 kB / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1419, allocations: 0 / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1419, allocations: 0 / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.1419, allocations: 7.922 kB / 0.5219 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.1424, allocations: 366.4 kB / 0.5222 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1424, allocations: 4 kB / 0.5222 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.1424, allocations: 8 kB / 0.5222 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1424, allocations: 3.938 kB / 0.5222 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1425, allocations: 0 / 0.5222 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1425, allocations: 0 / 0.5222 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1425, allocations: 4 kB / 0.5223 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1427, allocations: 216.2 kB / 0.5225 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.1427, allocations: 7.953 kB / 0.5225 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.1428, allocations: 7.875 kB / 0.5225 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1429, allocations: 8 kB / 0.5225 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1429, allocations: 4.172 kB / 0.5225 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1429, allocations: 4 kB / 0.5225 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.1431, allocations: 176.2 kB / 0.5227 GB, free: 328 kB / 398.1 MB Notification: Performance of sort global known variables: time 7.92e-07/0.1431, allocations: 0 / 0.5227 GB, free: 328 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.1435, allocations: 27.98 kB / 0.5227 GB, free: 300 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 (8): * Single equations (assignments): 6 * 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.002228/0.1457, allocations: 1.094 MB / 0.5238 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.1459, allocations: 55.97 kB / 0.5238 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1459, allocations: 0 / 0.5238 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.146, allocations: 31.92 kB / 0.5238 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1463, allocations: 23.92 kB / 0.5239 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.1485, allocations: 1.718 MB / 0.5255 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1489, allocations: 0.7119 MB / 0.5262 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.988e-05/0.149, allocations: 21.27 kB / 0.5263 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.149, allocations: 39.42 kB / 0.5263 GB, free: 12.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.149, allocations: 0 / 0.5263 GB, free: 12.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.1814, allocations: 3.709 MB / 0.5299 GB, free: 8.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.29, allocations: 7.969 kB / 0.5299 GB, free: 8.699 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.617275985889137]