Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001288/0.001288, allocations: 114 kB / 19.69 MB, free: 2.188 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.001489/0.001489, allocations: 219.6 kB / 23 MB, free: 5.043 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.383/1.383, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.2325/0.2325, allocations: 44.24 MB / 330.3 MB, free: 9.516 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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.002274/0.002274, allocations: 76.22 kB / 467.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1301, allocations: 61.05 MB / 0.5162 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.0033/0.1334, allocations: 1.715 MB / 0.5179 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1359, allocations: 1.513 MB / 0.5194 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.1359, allocations: 7.938 kB / 0.5194 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.1363, allocations: 43.83 kB / 0.5194 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.1365, allocations: 55.7 kB / 0.5195 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1368, allocations: 87.75 kB / 0.5195 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.137, allocations: 103.6 kB / 0.5196 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.1371, allocations: 12.22 kB / 0.5197 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.1372, allocations: 47.77 kB / 0.5197 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.1373, allocations: 43.83 kB / 0.5197 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1373, allocations: 4 kB / 0.5198 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1375, allocations: 63.98 kB / 0.5198 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.1375, allocations: 27.84 kB / 0.5198 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.1376, allocations: 39.73 kB / 0.5199 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1378, allocations: 131.5 kB / 0.52 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1378, allocations: 0 / 0.52 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1378, allocations: 0 / 0.52 GB, free: 3.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1378, allocations: 0 / 0.52 GB, free: 3.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005658/0.1384, allocations: 337.7 kB / 0.5203 GB, free: 2.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1385, allocations: 8.031 kB / 0.5203 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.1385, allocations: 34.75 kB / 0.5204 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.1385, allocations: 8.891 kB / 0.5204 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1388, allocations: 162.6 kB / 0.5205 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1388, allocations: 7.938 kB / 0.5205 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1388, allocations: 4 kB / 0.5205 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.1391, allocations: 71.39 kB / 0.5206 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1391, allocations: 0 / 0.5206 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1391, allocations: 3.984 kB / 0.5206 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1391, allocations: 4 kB / 0.5206 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.028e-05/0.1392, allocations: 31.92 kB / 0.5206 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1396, allocations: 267.9 kB / 0.5209 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1398, allocations: 62.67 kB / 0.521 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.212e-05/0.1399, allocations: 20.86 kB / 0.521 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1399, allocations: 4 kB / 0.521 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.14, allocations: 79.31 kB / 0.5211 GB, free: 2.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.14, allocations: 0 / 0.5211 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005712/0.1406, allocations: 197.3 kB / 0.5212 GB, free: 1.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.1407, allocations: 81.05 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1408, allocations: 154.4 kB / 0.5215 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1409, allocations: 33.8 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.1409, allocations: 104 kB / 0.5216 GB, free: 1.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.141, allocations: 23.92 kB / 0.5216 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.141, allocations: 29.7 kB / 0.5217 GB, free: 1.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1412, allocations: 322.8 kB / 0.522 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.1412, allocations: 20 kB / 0.522 GB, free: 1.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.253e-05/0.1413, allocations: 46.55 kB / 0.522 GB, free: 1.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1415, allocations: 73.69 kB / 0.5221 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1415, allocations: 0 / 0.5221 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002107/0.1417, allocations: 113.5 kB / 0.5222 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1417, allocations: 8 kB / 0.5222 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1417, allocations: 3.938 kB / 0.5222 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1417, allocations: 0 / 0.5222 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1418, allocations: 31.86 kB / 0.5222 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1418, allocations: 0 / 0.5222 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.1419, allocations: 11.97 kB / 0.5223 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.1419, allocations: 0 / 0.5223 GB, free: 0.8086 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 (11): * Single equations (assignments): 11 * 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.0001107/0.142, allocations: 125.8 kB / 0.5224 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.142, allocations: 7.953 kB / 0.5224 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.1423, allocations: 130.7 kB / 0.5225 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1423, allocations: 0 / 0.5225 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1423, allocations: 192 / 0.5225 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1423, allocations: 4 kB / 0.5225 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.1428, allocations: 402.2 kB / 0.5229 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1428, allocations: 0 / 0.5229 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.1428, allocations: 12 kB / 0.5229 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1428, allocations: 0 / 0.5229 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1428, allocations: 4 kB / 0.5229 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1428, allocations: 0 / 0.5229 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1428, allocations: 0 / 0.5229 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.1431, allocations: 220.2 kB / 0.5231 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.1432, allocations: 15.94 kB / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1432, allocations: 0 / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1433, allocations: 4 kB / 0.5231 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.1433, allocations: 11.92 kB / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.1433, allocations: 8 kB / 0.5232 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1434, allocations: 123.9 kB / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1434, allocations: 4 kB / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1437, allocations: 35.92 kB / 0.5233 GB, free: 15.63 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: 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.002382/0.1461, allocations: 1.14 MB / 0.5244 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1463, allocations: 63.91 kB / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1463, allocations: 4.062 kB / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.1464, allocations: 31.98 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1467, allocations: 27.92 kB / 0.5246 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1486, allocations: 1.613 MB / 0.5261 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.149, allocations: 0.7156 MB / 0.5268 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.121e-05/0.1491, allocations: 20.62 kB / 0.5268 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.1492, allocations: 35.42 kB / 0.5269 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1492, allocations: 0 / 0.5269 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.1838, allocations: 3.911 MB / 0.5307 GB, free: 7.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.19, allocations: 0 / 0.5307 GB, free: 7.852 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.30662982002832]