Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.00137/0.00137, 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.001549/0.001549, 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.476/1.476, 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.2326/0.2326, allocations: 46.92 MB / 357.1 MB, free: 10.38 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.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 68.05 kB / 0.491 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1274, allocations: 66 MB / 0.5554 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003179/0.1306, allocations: 1.825 MB / 0.5572 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1325, allocations: 1.107 MB / 0.5583 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.816e-05/0.1326, allocations: 11.94 kB / 0.5583 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.1331, allocations: 295.3 kB / 0.5586 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.1336, allocations: 251.2 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1338, allocations: 107.6 kB / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.1342, allocations: 263.2 kB / 0.5592 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.76e-05/0.1342, allocations: 13.67 kB / 0.5592 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.1344, allocations: 135.5 kB / 0.5593 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.1347, allocations: 208 kB / 0.5595 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1347, allocations: 8 kB / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1348, allocations: 47.98 kB / 0.5596 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1349, allocations: 140.4 kB / 0.5597 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1351, allocations: 146.8 kB / 0.5599 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.1355, allocations: 374.2 kB / 0.5602 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1355, allocations: 0 / 0.5602 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1355, allocations: 0 / 0.5602 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1355, allocations: 0 / 0.5602 GB, free: 0.8945 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.0009703/0.1365, allocations: 0.7539 MB / 0.561 GB, free: 92 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1365, allocations: 8.031 kB / 0.561 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1366, allocations: 34.75 kB / 0.561 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.434e-05/0.1367, allocations: 52.66 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/0.1373, allocations: 460.3 kB / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1373, allocations: 384 / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1373, allocations: 15.86 kB / 0.5615 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1375, allocations: 87.3 kB / 0.5616 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1375, allocations: 0 / 0.5616 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1375, allocations: 8 kB / 0.5616 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1375, allocations: 0 / 0.5616 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1377, allocations: 31.97 kB / 0.5616 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.1381, allocations: 370.4 kB / 0.562 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.1384, allocations: 109.1 kB / 0.5621 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.1385, allocations: 33.7 kB / 0.5621 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.1385, allocations: 0 / 0.5621 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.1387, allocations: 113 kB / 0.5622 GB, free: 14.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1387, allocations: 0 / 0.5622 GB, free: 14.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005017/0.1392, allocations: 201.2 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.1393, allocations: 85.11 kB / 0.5625 GB, free: 14.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.1404, allocations: 1.022 MB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1404, allocations: 25.7 kB / 0.5635 GB, free: 13.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1406, allocations: 236.1 kB / 0.5637 GB, free: 13.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1407, allocations: 23.8 kB / 0.5638 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.1407, allocations: 33.7 kB / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1409, allocations: 374.7 kB / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.141, allocations: 23.98 kB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1411, allocations: 59.41 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.1413, allocations: 91.86 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1413, allocations: 3.938 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003236/0.1416, allocations: 177.2 kB / 0.5645 GB, free: 12.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1416, allocations: 8 kB / 0.5645 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1416, allocations: 0 / 0.5645 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1416, allocations: 4 kB / 0.5645 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1418, allocations: 19.98 kB / 0.5645 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1418, allocations: 4.062 kB / 0.5645 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.469e-05/0.1419, allocations: 11.89 kB / 0.5645 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1419, allocations: 15.98 kB / 0.5646 GB, free: 12.15 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.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.0002535/0.1421, allocations: 223.8 kB / 0.5648 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.1422, allocations: 51.67 kB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.922e-05/0.1423, allocations: 60.09 kB / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1423, allocations: 4 kB / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1423, allocations: 3.938 kB / 0.5649 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1423, allocations: 0 / 0.5649 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.1427, allocations: 349.4 kB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1427, allocations: 0 / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.1427, allocations: 4 kB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1427, allocations: 4 kB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1427, allocations: 3.984 kB / 0.5652 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1427, allocations: 4.125 kB / 0.5652 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1427, allocations: 4 kB / 0.5652 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.1431, allocations: 205.5 kB / 0.5654 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.1432, allocations: 144.8 kB / 0.5656 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.1433, allocations: 4 kB / 0.5656 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.1433, allocations: 7.984 kB / 0.5656 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.1434, allocations: 7.984 kB / 0.5656 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.1434, allocations: 11.94 kB / 0.5656 GB, free: 10.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008637/0.1443, allocations: 0.7604 MB / 0.5663 GB, free: 10.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1443, allocations: 0 / 0.5663 GB, free: 10.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1446, allocations: 51.92 kB / 0.5664 GB, free: 10.17 MB / 430.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.002122/0.1467, allocations: 1.047 MB / 0.5674 GB, free: 9.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.1469, allocations: 79.95 kB / 0.5675 GB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.1469, allocations: 4 kB / 0.5675 GB, free: 9.168 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1471, allocations: 35.92 kB / 0.5675 GB, free: 9.133 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.1475, allocations: 63.64 kB / 0.5676 GB, free: 9.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.1534, allocations: 4.48 MB / 0.572 GB, free: 4.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.1539, allocations: 0.8427 MB / 0.5728 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.1541, allocations: 50.95 kB / 0.5728 GB, free: 3.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.1542, allocations: 151.4 kB / 0.573 GB, free: 3.422 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1542, allocations: 0 / 0.573 GB, free: 3.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.186, allocations: 8.994 MB / 0.5818 GB, free: 10.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.708/8.894, allocations: 14.67 kB / 0.5818 GB, free: 10.49 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.32938190200366]