Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001653/0.001653, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001562/0.001562, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2417/0.2417, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 0.491 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1374, allocations: 65.99 MB / 0.5554 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003786/0.1411, allocations: 1.941 MB / 0.5573 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1432, allocations: 1.074 MB / 0.5584 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1433, allocations: 0 / 0.5584 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1437, allocations: 55.62 kB / 0.5584 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.144, allocations: 91.56 kB / 0.5585 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1442, allocations: 99.62 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1445, allocations: 147.5 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1446, allocations: 25.47 kB / 0.5588 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1447, allocations: 59.72 kB / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1448, allocations: 51.7 kB / 0.5589 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.1448, allocations: 8 kB / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1449, allocations: 47.98 kB / 0.5589 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.145, allocations: 27.86 kB / 0.559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.1451, allocations: 51.67 kB / 0.559 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1454, allocations: 159.2 kB / 0.5592 GB, free: 1.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1454, allocations: 0 / 0.5592 GB, free: 1.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1454, allocations: 0 / 0.5592 GB, free: 1.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1454, allocations: 0 / 0.5592 GB, free: 1.926 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007669/0.1462, allocations: 484.1 kB / 0.5596 GB, free: 1.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1462, allocations: 8.031 kB / 0.5596 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.1462, allocations: 46.73 kB / 0.5597 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.1463, allocations: 20.84 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.1467, allocations: 244.8 kB / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1467, allocations: 384 / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1468, allocations: 15.92 kB / 0.56 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.147, allocations: 112.1 kB / 0.5601 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.147, allocations: 0 / 0.5601 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.147, allocations: 4 kB / 0.5601 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.147, allocations: 4 kB / 0.5601 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1472, allocations: 47.91 kB / 0.5601 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.1478, allocations: 0.5049 MB / 0.5606 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.1482, allocations: 86.66 kB / 0.5607 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1483, allocations: 40.77 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1483, allocations: 0 / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.1485, allocations: 87.38 kB / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1485, allocations: 0 / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004281/0.1489, allocations: 141.4 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.149, allocations: 55.41 kB / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1492, allocations: 202.2 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1492, allocations: 29.7 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.1493, allocations: 116 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1494, allocations: 31.75 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.1494, allocations: 29.7 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1496, allocations: 326.8 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.422e-05/0.1496, allocations: 27.98 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1498, allocations: 76.33 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.15, allocations: 96.2 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.15, allocations: 4.375 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002876/0.1503, allocations: 137.5 kB / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1503, allocations: 8 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1503, allocations: 0 / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1503, allocations: 7.938 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1504, allocations: 31.92 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1504, allocations: 0 / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.1505, allocations: 7.953 kB / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1505, allocations: 4 kB / 0.5621 GB, free: 14.65 MB / 430.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.0001223/0.1506, allocations: 136 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1506, allocations: 15.91 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.1507, allocations: 17.41 kB / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1507, allocations: 7.938 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1507, allocations: 0 / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1507, allocations: 7.922 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1509, allocations: 209.6 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1509, allocations: 3.938 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.151, allocations: 16 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.151, allocations: 0 / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.151, allocations: 3.984 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.151, allocations: 7.938 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.151, allocations: 4 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.1514, allocations: 176.9 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.1515, allocations: 89.05 kB / 0.5627 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1515, allocations: 4 kB / 0.5628 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.1516, allocations: 11.92 kB / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.1516, allocations: 16.03 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1516, allocations: 4 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1518, allocations: 144.4 kB / 0.5629 GB, free: 13.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1518, allocations: 0 / 0.5629 GB, free: 13.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.152, allocations: 28.12 kB / 0.5629 GB, free: 13.67 MB / 430.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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002084/0.1541, allocations: 1.025 MB / 0.5639 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.1543, allocations: 75.84 kB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1543, allocations: 0 / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1544, allocations: 35.91 kB / 0.5641 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.1548, allocations: 43.91 kB / 0.5641 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1569, allocations: 1.755 MB / 0.5658 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.1572, allocations: 0.7162 MB / 0.5665 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.238e-05/0.1573, allocations: 21.41 kB / 0.5665 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.1574, allocations: 43.42 kB / 0.5666 GB, free: 9.957 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1574, allocations: 0 / 0.5666 GB, free: 9.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.1876, allocations: 3.855 MB / 0.5703 GB, free: 6.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.368, allocations: 10.97 kB / 0.5703 GB, free: 6.16 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.495190488174558]