Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001831/0.001831, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002091/0.002091, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.537/1.537, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2268/0.2268, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.88 kB / 0.4917 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1326, allocations: 65.99 MB / 0.5562 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003782/0.1364, allocations: 1.93 MB / 0.558 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1385, allocations: 1.13 MB / 0.5591 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1386, allocations: 3.938 kB / 0.5592 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.1391, allocations: 163.5 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.1396, allocations: 195.2 kB / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.1399, allocations: 107.7 kB / 0.5596 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.1402, allocations: 251.2 kB / 0.5598 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1403, allocations: 21.67 kB / 0.5599 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1405, allocations: 115.6 kB / 0.56 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.1407, allocations: 139.5 kB / 0.5601 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.1407, allocations: 11.94 kB / 0.5601 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1408, allocations: 67.97 kB / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.1409, allocations: 47.83 kB / 0.5602 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.1411, allocations: 91.28 kB / 0.5603 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.1414, allocations: 227 kB / 0.5605 GB, free: 1.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1414, allocations: 4 kB / 0.5605 GB, free: 1.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1414, allocations: 0 / 0.5605 GB, free: 1.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1414, allocations: 0 / 0.5605 GB, free: 1.25 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000875/0.1423, allocations: 0.5484 MB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1423, allocations: 8.031 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.278e-05/0.1423, allocations: 192 / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.1424, allocations: 38.75 kB / 0.5611 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.1424, allocations: 28.75 kB / 0.5611 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.1429, allocations: 283.7 kB / 0.5614 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.1429, allocations: 12.12 kB / 0.5614 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1429, allocations: 7.984 kB / 0.5614 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.1432, allocations: 112.1 kB / 0.5615 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1432, allocations: 0 / 0.5615 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1432, allocations: 4 kB / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1432, allocations: 0 / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.1434, allocations: 43.97 kB / 0.5616 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.1441, allocations: 476.7 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.1445, allocations: 117.2 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1446, allocations: 41.83 kB / 0.5622 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1446, allocations: 4 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.1448, allocations: 121 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1448, allocations: 0 / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001363/0.1462, allocations: 0.4976 MB / 0.5628 GB, free: 14.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.1463, allocations: 81.11 kB / 0.5629 GB, free: 14.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.1467, allocations: 375.3 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.1467, allocations: 29.7 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1468, allocations: 148.5 kB / 0.5634 GB, free: 14.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.1469, allocations: 79.38 kB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.147, allocations: 45.7 kB / 0.5635 GB, free: 13.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1472, allocations: 338.8 kB / 0.5638 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1473, allocations: 55.97 kB / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.1475, allocations: 93.53 kB / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.1478, allocations: 163.3 kB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1478, allocations: 0 / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004299/0.1482, allocations: 237.4 kB / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1482, allocations: 5.719 kB / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1482, allocations: 4 kB / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1482, allocations: 0 / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.1484, allocations: 47.91 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1484, allocations: 8 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-05/0.1485, allocations: 8 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1485, allocations: 12 kB / 0.5644 GB, free: 12.95 MB / 430.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001683/0.1487, allocations: 157.8 kB / 0.5646 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.1487, allocations: 35.75 kB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.1488, allocations: 33.83 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1488, allocations: 4 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1488, allocations: 0 / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.1488, allocations: 7.969 kB / 0.5647 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.1499, allocations: 0.7156 MB / 0.5654 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1499, allocations: 0 / 0.5654 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.15, allocations: 31.92 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.15, allocations: 4 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.15, allocations: 12.31 kB / 0.5654 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.15, allocations: 240 / 0.5654 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1501, allocations: 11.88 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.1506, allocations: 419.8 kB / 0.5658 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.1507, allocations: 100.9 kB / 0.5659 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.1507, allocations: 11.98 kB / 0.5659 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1509, allocations: 8 kB / 0.5659 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.1509, allocations: 19.92 kB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.151, allocations: 11.98 kB / 0.566 GB, free: 11.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003105/0.1513, allocations: 277.9 kB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1513, allocations: 4 kB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.1517, allocations: 55.86 kB / 0.5663 GB, free: 10.92 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002842/0.1545, allocations: 1.363 MB / 0.5676 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.1549, allocations: 150.9 kB / 0.5678 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1549, allocations: 0 / 0.5678 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.1551, allocations: 76.22 kB / 0.5678 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.1557, allocations: 67.2 kB / 0.5679 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.1592, allocations: 2.715 MB / 0.5706 GB, free: 6.605 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.1596, allocations: 0.7636 MB / 0.5713 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1598, allocations: 45.91 kB / 0.5714 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.1599, allocations: 87.41 kB / 0.5714 GB, free: 5.684 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1599, allocations: 0 / 0.5714 GB, free: 5.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.1838, allocations: 6.173 MB / 0.5775 GB, free: 15.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.675/8.859, allocations: 15.94 kB / 0.5775 GB, free: 15.57 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.173159180034418]