Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001821/0.001821, allocations: 116.8 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.002167/0.002167, allocations: 189.2 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.454/1.454, allocations: 225.6 MB / 249.8 MB, free: 3.602 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.2436/0.2436, allocations: 44.91 MB / 349.6 MB, free: 1.723 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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 65.38 kB / 491.8 MB, free: 30.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1404, allocations: 64.26 MB / 0.5431 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003481/0.1439, allocations: 1.808 MB / 0.5448 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1457, allocations: 0.9704 MB / 0.5458 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.1458, allocations: 7.938 kB / 0.5458 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.1464, allocations: 299.3 kB / 0.5461 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004699/0.1468, allocations: 215.3 kB / 0.5463 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.1473, allocations: 171.5 kB / 0.5464 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1476, allocations: 239.4 kB / 0.5467 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.973e-05/0.1477, allocations: 5.562 kB / 0.5467 GB, free: 460 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.1479, allocations: 131.5 kB / 0.5468 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.1482, allocations: 219.4 kB / 0.547 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1482, allocations: 8 kB / 0.547 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1483, allocations: 43.98 kB / 0.5471 GB, free: 56 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1485, allocations: 139.7 kB / 0.5472 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1486, allocations: 142.8 kB / 0.5473 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.1491, allocations: 370.5 kB / 0.5477 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1491, allocations: 0 / 0.5477 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1491, allocations: 0 / 0.5477 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.1491, allocations: 4 kB / 0.5477 GB, free: 15.41 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00108/0.1502, allocations: 0.7461 MB / 0.5484 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1502, allocations: 8.031 kB / 0.5484 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.1503, allocations: 38.73 kB / 0.5485 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.218e-05/0.1504, allocations: 48.61 kB / 0.5485 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000711/0.1511, allocations: 456.4 kB / 0.5489 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1511, allocations: 8.359 kB / 0.5489 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1511, allocations: 7.938 kB / 0.549 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.1513, allocations: 83.31 kB / 0.549 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1513, allocations: 0 / 0.549 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1513, allocations: 3.984 kB / 0.549 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1513, allocations: 7.984 kB / 0.549 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1514, allocations: 31.92 kB / 0.5491 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.1519, allocations: 370.4 kB / 0.5494 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.1522, allocations: 109.1 kB / 0.5495 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1523, allocations: 41.69 kB / 0.5496 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1523, allocations: 0 / 0.5496 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.1526, allocations: 105 kB / 0.5497 GB, free: 13.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1526, allocations: 0 / 0.5497 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005181/0.1531, allocations: 201.3 kB / 0.5499 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.1532, allocations: 89.03 kB / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.1544, allocations: 1.03 MB / 0.551 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1544, allocations: 25.7 kB / 0.551 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.1546, allocations: 240.1 kB / 0.5512 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.1546, allocations: 27.78 kB / 0.5512 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.1547, allocations: 25.72 kB / 0.5513 GB, free: 11.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1549, allocations: 370.8 kB / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.753e-05/0.155, allocations: 31.98 kB / 0.5516 GB, free: 11.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1551, allocations: 58.8 kB / 0.5517 GB, free: 11.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.1553, allocations: 95.78 kB / 0.5518 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1553, allocations: 7.938 kB / 0.5518 GB, free: 10.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003116/0.1556, allocations: 169.2 kB / 0.552 GB, free: 10.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1556, allocations: 4 kB / 0.552 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1556, allocations: 0 / 0.552 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1556, allocations: 4 kB / 0.552 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1557, allocations: 23.92 kB / 0.552 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1558, allocations: 4 kB / 0.552 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.722e-05/0.1559, allocations: 15.92 kB / 0.552 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1559, allocations: 4 kB / 0.552 GB, free: 10.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002259/0.1561, allocations: 225.8 kB / 0.5522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.1562, allocations: 55.61 kB / 0.5523 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.125e-05/0.1562, allocations: 60 kB / 0.5523 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1562, allocations: 0 / 0.5523 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1563, allocations: 3.938 kB / 0.5523 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1563, allocations: 7.938 kB / 0.5523 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.1566, allocations: 333.4 kB / 0.5527 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1566, allocations: 7.984 kB / 0.5527 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.1566, allocations: 4 kB / 0.5527 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1566, allocations: 4 kB / 0.5527 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1566, allocations: 4 kB / 0.5527 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1566, allocations: 128 / 0.5527 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1566, allocations: 4 kB / 0.5527 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.157, allocations: 209.5 kB / 0.5529 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.1572, allocations: 140.8 kB / 0.553 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.1572, allocations: 4 kB / 0.553 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.1573, allocations: 4 kB / 0.553 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.1573, allocations: 11.98 kB / 0.553 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1573, allocations: 4 kB / 0.553 GB, free: 9.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009703/0.1583, allocations: 0.7721 MB / 0.5538 GB, free: 8.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1583, allocations: 0 / 0.5538 GB, free: 8.746 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1586, allocations: 43.94 kB / 0.5538 GB, free: 8.703 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002117/0.1607, allocations: 1.062 MB / 0.5549 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.161, allocations: 83.84 kB / 0.555 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.161, allocations: 0 / 0.555 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1611, allocations: 36.09 kB / 0.555 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.1615, allocations: 70.12 kB / 0.5551 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005922/0.1674, allocations: 4.523 MB / 0.5595 GB, free: 2.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.1679, allocations: 0.8465 MB / 0.5603 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.1681, allocations: 54.95 kB / 0.5604 GB, free: 2.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.1682, allocations: 143.4 kB / 0.5605 GB, free: 1.906 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1682, allocations: 0 / 0.5605 GB, free: 1.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.2027, allocations: 8.989 MB / 0.5693 GB, free: 8.953 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.615/8.818, allocations: 2.656 kB / 0.5693 GB, free: 8.953 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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: 12.090129076968879]