Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001265/0.001265, allocations: 117 kB / 18.49 MB, free: 4.566 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.001344/0.001344, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.487/1.487, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2181/0.2181, allocations: 46.91 MB / 357.7 MB, free: 10.16 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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 75.89 kB / 0.4917 GB, free: 7.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1212, allocations: 66.04 MB / 0.5562 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003354/0.1246, allocations: 1.929 MB / 0.5581 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1265, allocations: 1.134 MB / 0.5592 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.1266, allocations: 0 / 0.5592 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.1271, allocations: 263.3 kB / 0.5595 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.1275, allocations: 239.1 kB / 0.5597 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1278, allocations: 111.7 kB / 0.5598 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.1281, allocations: 275.2 kB / 0.5601 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1282, allocations: 21.66 kB / 0.5601 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.1284, allocations: 135.5 kB / 0.5602 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.1287, allocations: 219.3 kB / 0.5604 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.1287, allocations: 8 kB / 0.5605 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1288, allocations: 59.98 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.168e-05/0.1289, allocations: 67.75 kB / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.129, allocations: 95.23 kB / 0.5607 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.1294, allocations: 254.7 kB / 0.5609 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1294, allocations: 0 / 0.5609 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1294, allocations: 4 kB / 0.5609 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1294, allocations: 0 / 0.5609 GB, free: 0.5859 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.0008525/0.1302, allocations: 0.5936 MB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1303, allocations: 8.031 kB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.791e-05/0.1303, allocations: 8.188 kB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1303, allocations: 38.73 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.1304, allocations: 40.64 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.1308, allocations: 298.8 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1309, allocations: 4.375 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.1309, allocations: 13.83 kB / 0.5619 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.1311, allocations: 105 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1311, allocations: 3.938 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.1312, allocations: 8 kB / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1312, allocations: 0 / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.1313, allocations: 47.91 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.1319, allocations: 492.7 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.1323, allocations: 117.2 kB / 0.5626 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1324, allocations: 49.7 kB / 0.5627 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1324, allocations: 4 kB / 0.5627 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.1327, allocations: 117.1 kB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.1327, allocations: 0 / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001319/0.134, allocations: 0.5161 MB / 0.5633 GB, free: 13.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.134, allocations: 81.11 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.1346, allocations: 497.6 kB / 0.5638 GB, free: 13.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.1346, allocations: 33.7 kB / 0.5639 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.1347, allocations: 172.5 kB / 0.564 GB, free: 13.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.1348, allocations: 71.38 kB / 0.5641 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.1349, allocations: 49.7 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.135, allocations: 350.7 kB / 0.5645 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1352, allocations: 55.97 kB / 0.5645 GB, free: 12.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1353, allocations: 91.34 kB / 0.5646 GB, free: 12.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.1356, allocations: 159.3 kB / 0.5648 GB, free: 12.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1356, allocations: 0 / 0.5648 GB, free: 12.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004186/0.136, allocations: 241.6 kB / 0.565 GB, free: 12.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.136, allocations: 4 kB / 0.565 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.136, allocations: 4 kB / 0.565 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.136, allocations: 0 / 0.565 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1362, allocations: 47.97 kB / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1362, allocations: 0 / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.1363, allocations: 23.89 kB / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1363, allocations: 9.172 kB / 0.5651 GB, free: 12 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.0001674/0.1365, allocations: 173.8 kB / 0.5653 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.1365, allocations: 31.81 kB / 0.5653 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.1366, allocations: 42.89 kB / 0.5653 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1366, allocations: 3.984 kB / 0.5653 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.1366, allocations: 4 kB / 0.5653 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1366, allocations: 7.922 kB / 0.5653 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009427/0.1376, allocations: 0.7545 MB / 0.5661 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1376, allocations: 0 / 0.5661 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.661e-05/0.1377, allocations: 31.92 kB / 0.5661 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1377, allocations: 4 kB / 0.5661 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.1377, allocations: 8 kB / 0.5661 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1377, allocations: 4.125 kB / 0.5661 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1377, allocations: 4 kB / 0.5661 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.1382, allocations: 429.8 kB / 0.5665 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.1382, allocations: 100.9 kB / 0.5666 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1383, allocations: 11.98 kB / 0.5667 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1384, allocations: 4 kB / 0.5667 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.1385, allocations: 15.98 kB / 0.5667 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.1385, allocations: 11.98 kB / 0.5667 GB, free: 10.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003631/0.1389, allocations: 375.1 kB / 0.567 GB, free: 9.883 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1389, allocations: 0 / 0.567 GB, free: 9.883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.1392, allocations: 51.94 kB / 0.5671 GB, free: 9.832 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.002594/0.1418, allocations: 1.383 MB / 0.5684 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.1422, allocations: 146.4 kB / 0.5686 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1422, allocations: 0 / 0.5686 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1423, allocations: 75.84 kB / 0.5687 GB, free: 8.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.1429, allocations: 61.84 kB / 0.5687 GB, free: 8.328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.1464, allocations: 3 MB / 0.5716 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.1468, allocations: 0.7831 MB / 0.5724 GB, free: 4.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.1469, allocations: 45.84 kB / 0.5725 GB, free: 4.355 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.1471, allocations: 107.4 kB / 0.5726 GB, free: 4.25 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1471, allocations: 3.938 kB / 0.5726 GB, free: 4.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.1706, allocations: 6.737 MB / 0.5791 GB, free: 13.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/8.588, allocations: 14.81 kB / 0.5791 GB, free: 13.56 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.668892967980355]