Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001227/0.001227, allocations: 109 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.001506/0.001506, allocations: 212.2 kB / 23.79 MB, free: 4.707 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.713/1.713, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.2388/0.2388, allocations: 44.24 MB / 331.1 MB, free: 9.543 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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.002206/0.002206, allocations: 71.84 kB / 468.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1421, allocations: 61.05 MB / 0.517 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003496/0.1456, allocations: 1.926 MB / 0.5189 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.147, allocations: 0.8623 MB / 0.5197 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.1471, allocations: 0 / 0.5197 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1475, allocations: 43.7 kB / 0.5197 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.1477, allocations: 75.61 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.148, allocations: 99.75 kB / 0.5199 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.1482, allocations: 139.6 kB / 0.52 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1484, allocations: 29.59 kB / 0.5201 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1485, allocations: 51.73 kB / 0.5201 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1486, allocations: 59.69 kB / 0.5202 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1486, allocations: 4 kB / 0.5202 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1487, allocations: 47.98 kB / 0.5202 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.1488, allocations: 27.92 kB / 0.5203 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.1489, allocations: 55.59 kB / 0.5203 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.1492, allocations: 143.3 kB / 0.5204 GB, free: 3.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1492, allocations: 4 kB / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1492, allocations: 3.938 kB / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1492, allocations: 0 / 0.5204 GB, free: 3.703 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007068/0.1499, allocations: 403.1 kB / 0.5208 GB, free: 3.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1499, allocations: 8.031 kB / 0.5208 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.538e-05/0.1499, allocations: 12.19 kB / 0.5209 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.15, allocations: 38.73 kB / 0.5209 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.15, allocations: 24.77 kB / 0.5209 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.1503, allocations: 163.3 kB / 0.5211 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1504, allocations: 12.12 kB / 0.5211 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1504, allocations: 7.953 kB / 0.5211 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.1507, allocations: 116.2 kB / 0.5212 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1507, allocations: 0 / 0.5212 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1507, allocations: 0 / 0.5212 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1507, allocations: 4 kB / 0.5212 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1508, allocations: 43.97 kB / 0.5212 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.1515, allocations: 492 kB / 0.5217 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.1518, allocations: 86.59 kB / 0.5218 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.1519, allocations: 32.84 kB / 0.5218 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1519, allocations: 4 kB / 0.5218 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.1521, allocations: 79.38 kB / 0.5219 GB, free: 2.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1521, allocations: 0 / 0.5219 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004076/0.1526, allocations: 149.4 kB / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1526, allocations: 55.39 kB / 0.5221 GB, free: 1.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1528, allocations: 183.6 kB / 0.5223 GB, free: 1.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1528, allocations: 29.7 kB / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.1529, allocations: 116.1 kB / 0.5224 GB, free: 1.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1529, allocations: 31.73 kB / 0.5224 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.153, allocations: 25.72 kB / 0.5225 GB, free: 1.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1531, allocations: 323.2 kB / 0.5228 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/0.1532, allocations: 31.92 kB / 0.5228 GB, free: 1.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1534, allocations: 72.27 kB / 0.5229 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.1536, allocations: 100.1 kB / 0.523 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1536, allocations: 0 / 0.523 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002773/0.1538, allocations: 145.4 kB / 0.5231 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1538, allocations: 4 kB / 0.5231 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1539, allocations: 4 kB / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1539, allocations: 3.938 kB / 0.5231 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.154, allocations: 27.92 kB / 0.5232 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.154, allocations: 0 / 0.5232 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.1541, allocations: 11.89 kB / 0.5232 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1541, allocations: 4 kB / 0.5232 GB, free: 0.668 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001177/0.1542, allocations: 134 kB / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1542, allocations: 11.91 kB / 0.5233 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.1545, allocations: 134.9 kB / 0.5234 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1545, allocations: 0 / 0.5234 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1545, allocations: 0 / 0.5234 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1545, allocations: 0 / 0.5234 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1547, allocations: 180.7 kB / 0.5236 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1547, allocations: 0 / 0.5236 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.596e-05/0.1548, allocations: 27.92 kB / 0.5236 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1548, allocations: 0 / 0.5236 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1548, allocations: 7.938 kB / 0.5236 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1548, allocations: 4.188 kB / 0.5236 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1548, allocations: 0 / 0.5236 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1552, allocations: 180.9 kB / 0.5238 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.1552, allocations: 19.92 kB / 0.5238 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1553, allocations: 11.98 kB / 0.5238 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.1553, allocations: 8 kB / 0.5239 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1554, allocations: 7.984 kB / 0.5239 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1554, allocations: 0 / 0.5239 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1555, allocations: 145.1 kB / 0.524 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1555, allocations: 0 / 0.524 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1557, allocations: 27.94 kB / 0.524 GB, free: 15.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.002189/0.1579, allocations: 1.013 MB / 0.525 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.1582, allocations: 83.77 kB / 0.5251 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1582, allocations: 0 / 0.5251 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1583, allocations: 36.17 kB / 0.5251 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1586, allocations: 43.91 kB / 0.5252 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.1608, allocations: 1.733 MB / 0.5269 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1612, allocations: 0.7123 MB / 0.5276 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.725e-05/0.1613, allocations: 21.42 kB / 0.5276 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.1613, allocations: 43.41 kB / 0.5276 GB, free: 11.92 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1613, allocations: 0 / 0.5276 GB, free: 11.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.1876, allocations: 4.001 MB / 0.5315 GB, free: 7.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.39, allocations: 12 kB / 0.5315 GB, free: 7.812 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.113981225003954]