Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 44.92 MB / 349.6 MB, free: 1.75 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 70.89 kB / 491.9 MB, free: 29.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1327, allocations: 64.26 MB / 0.5431 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003682/0.1364, allocations: 1.718 MB / 0.5448 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.1381, allocations: 0.8963 MB / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.1381, allocations: 0 / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1385, allocations: 47.77 kB / 0.5457 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.1387, allocations: 63.73 kB / 0.5457 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.139, allocations: 107.6 kB / 0.5458 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1392, allocations: 95.69 kB / 0.5459 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1393, allocations: 4.516 kB / 0.5459 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.1394, allocations: 47.77 kB / 0.546 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.1395, allocations: 27.86 kB / 0.546 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1395, allocations: 7.938 kB / 0.546 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1396, allocations: 47.92 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-05/0.1397, allocations: 35.84 kB / 0.5461 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.566e-05/0.1397, allocations: 43.67 kB / 0.5461 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.14, allocations: 131.4 kB / 0.5463 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.14, allocations: 4 kB / 0.5463 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.14, allocations: 0 / 0.5463 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.14, allocations: 0 / 0.5463 GB, free: 0.7578 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.0007068/0.1407, allocations: 442.5 kB / 0.5467 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1407, allocations: 8.031 kB / 0.5467 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.061e-05/0.1408, allocations: 34.69 kB / 0.5467 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.1408, allocations: 16.84 kB / 0.5467 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.1412, allocations: 220.8 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1412, allocations: 8.359 kB / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1413, allocations: 3.938 kB / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1414, allocations: 53.67 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1414, allocations: 4 kB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1414, allocations: 0 / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1414, allocations: 0 / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.1415, allocations: 15.98 kB / 0.547 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.1419, allocations: 308.8 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1421, allocations: 54.67 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.1422, allocations: 16.86 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.1422, allocations: 4 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.1424, allocations: 71.33 kB / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1424, allocations: 0 / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005563/0.1429, allocations: 193.4 kB / 0.5477 GB, free: 15.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.143, allocations: 51.41 kB / 0.5477 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.1432, allocations: 262.5 kB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1433, allocations: 29.7 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1434, allocations: 112.1 kB / 0.5481 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.1434, allocations: 31.73 kB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.1435, allocations: 25.72 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1436, allocations: 326.8 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.1437, allocations: 19.98 kB / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.51e-05/0.1438, allocations: 33.7 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1439, allocations: 65.83 kB / 0.5486 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1439, allocations: 0 / 0.5486 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000186/0.1441, allocations: 105.5 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1441, allocations: 4 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1441, allocations: 0 / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1441, allocations: 0 / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.1442, allocations: 27.92 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1442, allocations: 0 / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.1442, allocations: 3.938 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1442, allocations: 4 kB / 0.5487 GB, free: 14 MB / 414.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.0001259/0.1444, allocations: 133.9 kB / 0.5488 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1444, allocations: 19.91 kB / 0.5489 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.1445, allocations: 21.39 kB / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1445, allocations: 0 / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1445, allocations: 0 / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1445, allocations: 3.938 kB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.145, allocations: 403.3 kB / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.145, allocations: 0 / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.145, allocations: 8 kB / 0.5493 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.145, allocations: 11.91 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.145, allocations: 7.984 kB / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.145, allocations: 3.938 kB / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.145, allocations: 0 / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1453, allocations: 212.5 kB / 0.5495 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.1453, allocations: 85.02 kB / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1453, allocations: 7.938 kB / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.1454, allocations: 4 kB / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.1454, allocations: 11.98 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.1455, allocations: 4 kB / 0.5496 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1456, allocations: 204 kB / 0.5498 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1456, allocations: 0 / 0.5498 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1459, allocations: 19.98 kB / 0.5498 GB, free: 12.75 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 (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.002123/0.148, allocations: 1.115 MB / 0.5509 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1482, allocations: 59.91 kB / 0.551 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1482, allocations: 0 / 0.551 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.1483, allocations: 27.92 kB / 0.551 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1486, allocations: 23.98 kB / 0.551 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.1507, allocations: 1.804 MB / 0.5528 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1511, allocations: 0.7257 MB / 0.5535 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.108e-05/0.1511, allocations: 13.19 kB / 0.5535 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.1512, allocations: 43.41 kB / 0.5535 GB, free: 8.992 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1512, allocations: 0 / 0.5535 GB, free: 8.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.1752, allocations: 3.734 MB / 0.5572 GB, free: 5.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.117, allocations: 8.047 kB / 0.5572 GB, free: 5.281 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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: 11.19489935785532]