Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001686/0.001686, allocations: 119 kB / 18.5 MB, free: 4.434 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.002054/0.002054, allocations: 190.9 kB / 21.44 MB, free: 1.504 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.554/1.554, allocations: 225.6 MB / 249.8 MB, free: 3.621 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.2384/0.2384, allocations: 44.92 MB / 349.6 MB, free: 1.742 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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 69.97 kB / 491.9 MB, free: 30.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1387, allocations: 64.24 MB / 0.5431 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003332/0.142, allocations: 1.682 MB / 0.5447 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1435, allocations: 0.8613 MB / 0.5456 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.313e-05/0.1436, allocations: 4 kB / 0.5456 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1439, allocations: 55.73 kB / 0.5456 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.1441, allocations: 63.75 kB / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1444, allocations: 103.6 kB / 0.5458 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1446, allocations: 95.69 kB / 0.5459 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.1447, allocations: 11.98 kB / 0.5459 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.1448, allocations: 39.78 kB / 0.5459 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1449, allocations: 39.83 kB / 0.5459 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1449, allocations: 4 kB / 0.546 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.515e-05/0.145, allocations: 39.92 kB / 0.546 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.145, allocations: 27.86 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.1451, allocations: 23.81 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1453, allocations: 95.86 kB / 0.5461 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1453, allocations: 3.938 kB / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1453, allocations: 0 / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1453, allocations: 0 / 0.5461 GB, free: 0.9102 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006065/0.1459, allocations: 398.9 kB / 0.5465 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.146, allocations: 8.031 kB / 0.5465 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.146, allocations: 34.73 kB / 0.5466 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1461, allocations: 8.891 kB / 0.5466 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1464, allocations: 212.1 kB / 0.5468 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1464, allocations: 4.359 kB / 0.5468 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1464, allocations: 3.938 kB / 0.5468 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1465, allocations: 49.69 kB / 0.5468 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1466, allocations: 0 / 0.5468 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1466, allocations: 3.984 kB / 0.5468 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1466, allocations: 0 / 0.5468 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.612e-05/0.1466, allocations: 12 kB / 0.5468 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.1469, allocations: 181.6 kB / 0.547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1471, allocations: 62.48 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.1471, allocations: 16.86 kB / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1471, allocations: 0 / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.1473, allocations: 67.38 kB / 0.5471 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1473, allocations: 0 / 0.5471 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000308/0.1476, allocations: 97.75 kB / 0.5472 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1476, allocations: 55.34 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1478, allocations: 170.5 kB / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1478, allocations: 25.7 kB / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.1479, allocations: 104.1 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1479, allocations: 15.84 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.148, allocations: 25.72 kB / 0.5476 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1481, allocations: 322.8 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.1482, allocations: 15.98 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.1482, allocations: 33.78 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1483, allocations: 41.66 kB / 0.548 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1483, allocations: 3.938 kB / 0.548 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001738/0.1485, allocations: 81.62 kB / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1485, allocations: 8 kB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1485, allocations: 0 / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1486, allocations: 0 / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.1486, allocations: 11.94 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1486, allocations: 7.938 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.1487, allocations: 4 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1487, allocations: 4 kB / 0.5481 GB, free: 14.62 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 (7): * Single equations (assignments): 7 * 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.0001188/0.1488, allocations: 129.8 kB / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.1488, allocations: 15.94 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.1489, allocations: 16.3 kB / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1489, allocations: 0 / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1489, allocations: 0 / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1489, allocations: 0 / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1491, allocations: 185.6 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1491, allocations: 0 / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.755e-05/0.1491, allocations: 0 / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1491, allocations: 4 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.1491, allocations: 0 / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1491, allocations: 0 / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1491, allocations: 4 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1493, allocations: 117 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.1493, allocations: 89.06 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1494, allocations: 3.984 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.1494, allocations: 0 / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.1494, allocations: 7.938 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1494, allocations: 4 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1496, allocations: 135.2 kB / 0.5488 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1496, allocations: 0 / 0.5488 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002049/0.1498, allocations: 19.94 kB / 0.5488 GB, free: 13.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001853/0.1516, allocations: 0.9486 MB / 0.5498 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1518, allocations: 43.98 kB / 0.5498 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1518, allocations: 0 / 0.5498 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/0.1518, allocations: 19.92 kB / 0.5498 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.1521, allocations: 19.98 kB / 0.5498 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1539, allocations: 1.446 MB / 0.5513 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.1542, allocations: 0.6963 MB / 0.5519 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.136e-05/0.1543, allocations: 16.53 kB / 0.5519 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.1543, allocations: 31.42 kB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1543, allocations: 0 / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.1783, allocations: 3.044 MB / 0.5549 GB, free: 7.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.223, allocations: 7.938 kB / 0.555 GB, free: 7.602 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.49203930189833]