Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001951/0.001951, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 75.88 kB / 0.4913 GB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1269, allocations: 65.99 MB / 0.5558 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.004035/0.1309, allocations: 1.739 MB / 0.5575 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.1343, allocations: 1.636 MB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.121e-05/0.1344, allocations: 7.938 kB / 0.5591 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.1348, allocations: 31.77 kB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.1352, allocations: 103.6 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1355, allocations: 79.67 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.1358, allocations: 115.6 kB / 0.5594 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1359, allocations: 8 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.136, allocations: 43.78 kB / 0.5594 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1362, allocations: 43.83 kB / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.1362, allocations: 4 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.1365, allocations: 111.9 kB / 0.5596 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.1366, allocations: 15.94 kB / 0.5596 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.74e-05/0.1366, allocations: 39.72 kB / 0.5597 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.1371, allocations: 175.4 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1371, allocations: 0 / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1371, allocations: 0 / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1371, allocations: 0 / 0.5598 GB, free: 1.949 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007805/0.1379, allocations: 430.6 kB / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1379, allocations: 8.031 kB / 0.5602 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.1379, allocations: 38.75 kB / 0.5603 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.138, allocations: 12.84 kB / 0.5603 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.1384, allocations: 212.7 kB / 0.5605 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1384, allocations: 4.375 kB / 0.5605 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1385, allocations: 7.938 kB / 0.5605 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1387, allocations: 63.39 kB / 0.5606 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.1387, allocations: 11.92 kB / 0.5606 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1387, allocations: 4 kB / 0.5606 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1387, allocations: 0 / 0.5606 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.1388, allocations: 19.98 kB / 0.5606 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.1394, allocations: 292.9 kB / 0.5609 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1396, allocations: 54.66 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.1397, allocations: 20.8 kB / 0.5609 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1397, allocations: 4 kB / 0.561 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.1399, allocations: 75.38 kB / 0.561 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.1399, allocations: 3.938 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007476/0.1407, allocations: 173.3 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.1407, allocations: 77.11 kB / 0.5613 GB, free: 268 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.141, allocations: 163 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.141, allocations: 33.7 kB / 0.5615 GB, free: 52 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1412, allocations: 96.12 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.1412, allocations: 31.73 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.1413, allocations: 29.72 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.1415, allocations: 318.8 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.1416, allocations: 19.98 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1417, allocations: 50.5 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.1419, allocations: 53.7 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1419, allocations: 4.031 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002905/0.1422, allocations: 105.6 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1422, allocations: 8 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1422, allocations: 0 / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1422, allocations: 0 / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1423, allocations: 19.98 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1423, allocations: 0 / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.1424, allocations: 3.938 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1424, allocations: 4 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001393/0.1426, allocations: 131.1 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.1426, allocations: 11.89 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.1427, allocations: 16.7 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1427, allocations: 0 / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1427, allocations: 0 / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1427, allocations: 3.938 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.1434, allocations: 399.3 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1434, allocations: 4.031 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.1434, allocations: 12.36 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1434, allocations: 3.938 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1434, allocations: 0 / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1434, allocations: 8 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1434, allocations: 0 / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1438, allocations: 196.3 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.1439, allocations: 89.06 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.1439, allocations: 12.11 kB / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.144, allocations: 7.938 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1441, allocations: 3.938 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1441, allocations: 7.984 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.1443, allocations: 131.3 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1443, allocations: 0 / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.1447, allocations: 47.86 kB / 0.5632 GB, free: 14.11 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.003258/0.148, allocations: 1.177 MB / 0.5644 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.1483, allocations: 55.92 kB / 0.5644 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1483, allocations: 0 / 0.5644 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1484, allocations: 31.92 kB / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.1489, allocations: 38.56 kB / 0.5645 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.1519, allocations: 1.592 MB / 0.566 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.1524, allocations: 0.7012 MB / 0.5667 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.1525, allocations: 21.17 kB / 0.5667 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.1526, allocations: 31.42 kB / 0.5668 GB, free: 10.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1526, allocations: 0 / 0.5668 GB, free: 10.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.1908, allocations: 4.05 MB / 0.5707 GB, free: 6.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.282, allocations: 2.812 kB / 0.5707 GB, free: 6.492 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.393736904021353]