Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001915/0.001915, allocations: 120 kB / 18.49 MB, free: 4.59 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.002511/0.002511, allocations: 214.3 kB / 21.45 MB, free: 1.637 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.436/1.436, allocations: 230.4 MB / 254.7 MB, free: 14.85 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.2376/0.2376, allocations: 46.92 MB / 357.7 MB, free: 10.27 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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 83.86 kB / 0.4917 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1271, allocations: 66.04 MB / 0.5562 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003659/0.1308, allocations: 1.95 MB / 0.5581 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.1328, allocations: 1.063 MB / 0.5592 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1329, allocations: 3.938 kB / 0.5592 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.1333, allocations: 51.69 kB / 0.5592 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.1336, allocations: 103.5 kB / 0.5593 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1338, allocations: 95.7 kB / 0.5594 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1341, allocations: 143.5 kB / 0.5595 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1342, allocations: 21.55 kB / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1343, allocations: 63.7 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1344, allocations: 51.72 kB / 0.5597 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1345, allocations: 4 kB / 0.5597 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1346, allocations: 51.92 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.1346, allocations: 35.83 kB / 0.5598 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.1347, allocations: 43.69 kB / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.135, allocations: 159.3 kB / 0.56 GB, free: 1.695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.135, allocations: 0 / 0.56 GB, free: 1.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.135, allocations: 0 / 0.56 GB, free: 1.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1351, allocations: 0 / 0.56 GB, free: 1.695 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008367/0.1359, allocations: 496.1 kB / 0.5604 GB, free: 1.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1359, allocations: 8.031 kB / 0.5604 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.895e-05/0.136, allocations: 4.188 kB / 0.5604 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.136, allocations: 34.75 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.1361, allocations: 20.84 kB / 0.5605 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.1365, allocations: 233.5 kB / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.1365, allocations: 12.25 kB / 0.5607 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1365, allocations: 8.375 kB / 0.5607 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.1368, allocations: 109.7 kB / 0.5608 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1368, allocations: 0 / 0.5608 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1368, allocations: 8 kB / 0.5608 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1368, allocations: 0 / 0.5608 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.137, allocations: 55.89 kB / 0.5609 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007384/0.1378, allocations: 0.4932 MB / 0.5614 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.1382, allocations: 90.66 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1383, allocations: 32.84 kB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.1383, allocations: 4 kB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.1385, allocations: 87.25 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 3.617e-06/0.1385, allocations: 3.984 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004578/0.139, allocations: 145.5 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.139, allocations: 55.34 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.1393, allocations: 206.2 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1393, allocations: 25.7 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1394, allocations: 116.1 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.1395, allocations: 35.72 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.1395, allocations: 29.72 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1397, allocations: 330.8 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1398, allocations: 27.98 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1399, allocations: 64.41 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1401, allocations: 104.2 kB / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1401, allocations: 0 / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002944/0.1404, allocations: 137.8 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1404, allocations: 8.031 kB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1404, allocations: 4 kB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1404, allocations: 96 / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1406, allocations: 27.92 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1406, allocations: 3.938 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.1406, allocations: 15.94 kB / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1407, allocations: 8 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001329/0.1408, allocations: 131.6 kB / 0.563 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.1408, allocations: 15.91 kB / 0.563 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.1409, allocations: 21.39 kB / 0.563 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1409, allocations: 3.938 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.1409, allocations: 7.938 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1409, allocations: 0 / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.1411, allocations: 205.6 kB / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1411, allocations: 4 kB / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.314e-05/0.1412, allocations: 15.98 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1412, allocations: 0 / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1412, allocations: 0 / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1412, allocations: 8 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1412, allocations: 3.938 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.1416, allocations: 176.9 kB / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.1417, allocations: 93.03 kB / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1417, allocations: 0 / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.1418, allocations: 8 kB / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.1418, allocations: 19.92 kB / 0.5636 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1418, allocations: 4 kB / 0.5636 GB, free: 13.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.142, allocations: 144.4 kB / 0.5637 GB, free: 13.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.142, allocations: 0 / 0.5637 GB, free: 13.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1422, allocations: 31.92 kB / 0.5637 GB, free: 13.44 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002171/0.1444, allocations: 1.022 MB / 0.5647 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.1447, allocations: 75.89 kB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1447, allocations: 0 / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1448, allocations: 31.92 kB / 0.5648 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1451, allocations: 39.66 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.1474, allocations: 1.766 MB / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1477, allocations: 0.7162 MB / 0.5673 GB, free: 9.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.844e-05/0.1478, allocations: 17.41 kB / 0.5673 GB, free: 9.754 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.1479, allocations: 51.36 kB / 0.5674 GB, free: 9.703 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1479, allocations: 4 kB / 0.5674 GB, free: 9.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.1693, allocations: 3.874 MB / 0.5711 GB, free: 5.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.26, allocations: 10.88 kB / 0.5712 GB, free: 5.898 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.4156535770162]