Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001342/0.001342, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001636/0.001636, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.535/1.535, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2238/0.2238, allocations: 46.91 MB / 357.1 MB, free: 10.3 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.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.89 kB / 0.491 GB, free: 7.824 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.122, allocations: 65.98 MB / 0.5555 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003254/0.1253, allocations: 1.937 MB / 0.5574 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1271, allocations: 1.138 MB / 0.5585 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.67e-05/0.1272, allocations: 8 kB / 0.5585 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.1277, allocations: 255.3 kB / 0.5587 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.1281, allocations: 231.2 kB / 0.5589 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1284, allocations: 107.6 kB / 0.559 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.1287, allocations: 279.2 kB / 0.5593 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1288, allocations: 21.67 kB / 0.5593 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.129, allocations: 143.5 kB / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.1293, allocations: 207.4 kB / 0.5597 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.1293, allocations: 8 kB / 0.5597 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1294, allocations: 67.91 kB / 0.5597 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1295, allocations: 63.77 kB / 0.5598 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.817e-05/0.1296, allocations: 95.22 kB / 0.5599 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.13, allocations: 258.7 kB / 0.5601 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.13, allocations: 3.984 kB / 0.5601 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.13, allocations: 0 / 0.5601 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.13, allocations: 0 / 0.5601 GB, free: 0.8984 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.0008292/0.1308, allocations: 0.5949 MB / 0.5607 GB, free: 260 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1308, allocations: 8.031 kB / 0.5607 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.096e-05/0.1309, allocations: 42.73 kB / 0.5608 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.1309, allocations: 32.75 kB / 0.5608 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.1314, allocations: 302.6 kB / 0.5611 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1314, allocations: 4.375 kB / 0.5611 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1314, allocations: 11.94 kB / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1316, allocations: 107.3 kB / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1317, allocations: 0 / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1317, allocations: 0 / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1317, allocations: 4 kB / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.1319, allocations: 51.89 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.1324, allocations: 484.8 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.1328, allocations: 117.2 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1329, allocations: 45.81 kB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.133, allocations: 4 kB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.1332, allocations: 128.9 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.1332, allocations: 0 / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001358/0.1346, allocations: 0.5163 MB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.1346, allocations: 81.05 kB / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.1352, allocations: 0.4899 MB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1352, allocations: 33.7 kB / 0.5631 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1354, allocations: 168.4 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.162e-05/0.1354, allocations: 75.41 kB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-05/0.1355, allocations: 49.7 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1357, allocations: 346.8 kB / 0.5637 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1358, allocations: 55.92 kB / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.136, allocations: 97.52 kB / 0.5639 GB, free: 12.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.1362, allocations: 155.4 kB / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1362, allocations: 0 / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004306/0.1367, allocations: 245.4 kB / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1367, allocations: 4 kB / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1367, allocations: 0 / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1367, allocations: 4 kB / 0.5642 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1369, allocations: 47.92 kB / 0.5643 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1369, allocations: 0 / 0.5643 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.1369, allocations: 16.05 kB / 0.5643 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.137, allocations: 8 kB / 0.5643 GB, free: 12.32 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.0001722/0.1371, allocations: 173.8 kB / 0.5645 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.1372, allocations: 39.7 kB / 0.5645 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.238e-05/0.1373, allocations: 42.88 kB / 0.5646 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1373, allocations: 7.984 kB / 0.5646 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1373, allocations: 0 / 0.5646 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1373, allocations: 4 kB / 0.5646 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.1383, allocations: 0.7389 MB / 0.5653 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1383, allocations: 0 / 0.5653 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.658e-05/0.1384, allocations: 35.86 kB / 0.5653 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1384, allocations: 4 kB / 0.5653 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.1384, allocations: 8.188 kB / 0.5653 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.1384, allocations: 12.11 kB / 0.5654 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1384, allocations: 11.88 kB / 0.5654 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.1389, allocations: 417.9 kB / 0.5658 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.139, allocations: 112.9 kB / 0.5659 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.1391, allocations: 8 kB / 0.5659 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1392, allocations: 8 kB / 0.5659 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1393, allocations: 19.91 kB / 0.5659 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.1393, allocations: 12 kB / 0.5659 GB, free: 10.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000375/0.1397, allocations: 371.1 kB / 0.5663 GB, free: 10.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1397, allocations: 0 / 0.5663 GB, free: 10.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.14, allocations: 55.92 kB / 0.5663 GB, free: 10.14 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.002835/0.1429, allocations: 1.377 MB / 0.5677 GB, free: 8.945 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003861/0.1432, allocations: 147.8 kB / 0.5678 GB, free: 8.801 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1432, allocations: 0 / 0.5678 GB, free: 8.801 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1434, allocations: 75.84 kB / 0.5679 GB, free: 8.727 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.144, allocations: 68.89 kB / 0.5679 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.1478, allocations: 3.005 MB / 0.5709 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.1482, allocations: 0.7753 MB / 0.5716 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.1483, allocations: 41.92 kB / 0.5717 GB, free: 4.695 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.1485, allocations: 107.4 kB / 0.5718 GB, free: 4.59 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1485, allocations: 0 / 0.5718 GB, free: 4.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.1778, allocations: 6.711 MB / 0.5783 GB, free: 13.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/8.595, allocations: 3.938 kB / 0.5783 GB, free: 13.94 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.725094405002892]